chart3 = {
const width=400, height=600;
const svg = d3.select(DOM.svg(width, height))
const textoCiudad = svg.append("g").attr("id", "gTextoCiudad").append("text")
.style("font", "25px times")
.attr("class", "title")
.attr("text-anchor", "start")
.attr("x", 0)
.attr("y", 400)
.text("");
var projection = d3.geoMercator()
.fitExtent([[20, 20], [width, height]], data)
var path = d3.geoPath()
.projection(projection);
svg.append('g').selectAll('path')
.data(data.features)
.enter().append('path')
.attr('d', path)
.style('stroke', 'white')
.style('fill', 'gray')
.on("mouseover",function(d) {
d3.select(this)
.style("fill", 'pink')
d3.selectAll("text")
.text(d.target.__data__.properties.name)
})
.on("mouseout",function(d){
d3.select(this)
.style("fill", 'gray')
d3.selectAll("text")
.text("")
});
return svg.node()
}