Plot.plot({
width: 800,
height: 500,
margin: 10,
projection: {type: "reflect-y", domain: nation_ec, },
marks: [
Plot.geo(parishesMesh, { strokeOpacity: 0.3}),
Plot.geo(provincesMesh, { strokeWidth: 0.5 }),
Plot.geo(nation_ec),
Plot.tip(
parishes.features,
Plot.pointer(
Plot.centroid({
title: (d) =>
"Distrito: " + d.properties.name
})
)
)
],
caption: "Ecuador y sus parroquias"
})