DublinNorthWest_Map = Plot.plot({
projection: {
type: "albers",
domain: d3.geoCircle().center([-6.28, 53.39]).radius(0.03)(),
rotate:([1, 0]),
parallels: ([50, 60]),
inset: "15"
},
style: {backgroundColor: "#89CFF0",},
width: 1100,
height: 800,
color: {
scheme: "Greens",
type: "quantize",
n: 5,
label: `Constituencies`,
legend: true
},
marks: [
Plot.geo(DublinNorthWest, Plot.centroid({
fill: "white",
tip: true,
channels:{
Constituency: d => constituencyMap2023.get(d.properties.ENG_NAME_VALUE).properties.ENG_NAME_VALUE,
}
})
),
Plot.geo(DublinNorthWest, {stroke: "black"}),
Plot.text(
DublinNorthWest,
Plot.centroid({
text: d => d.constituencyMap2023.get(d.properties.ENG_NAME_VALUE).properties.ENG_NAME_VALUE,
fill: "black"
})
),
]
})