Plot.plot({
color: {
scheme: "category10",
legend: true
},
projection: { type: d3.geoEqualEarth, domain: { type: "Sphere" } },
marks: [
Plot.geo({ type: "Sphere" }, { fill: "#add8f7", stroke: "none" }),
Plot.geo(d3.geoGraticule()(), { stroke: "white", strokeWidth: 0.4 }),
Plot.geo(world, {
fill: (d) => d.properties.region
})
]
})