Plot.plot({width: 1000, height: 760,
projection: ({width, height}) => d3.geoMercator()
.scale(2400)
.center([-74, 4.5])
.translate([width / 2, height / 2]),
marks: [
Plot.geo( dptos, {fill: (d) => datvb.get(d.properties.DPTO_CCDGO),
title: (d) => `RM: ${datvb.get(d.properties.DPTO_CCDGO)}`, stroke: 'white' } ) ,
Plot.text( dptos.features,
Plot.centroid({
text: (d) => d.properties.DPTO_CNMBR, textAnchor: "middle", fill: "black" }),
{ fontSize: "6px" } )],
color: {scheme: "Spectral", type: "linear", legend: true, domain: [.95,1.15] ,
label: "Relación de masculinidad al nacer" }})