map1 = {
const projection = d3.geoEqualEarth().rotate([-10, 0, 0]);
const path = d3.geoPath().projection(projection);
const svg = d3.select(DOM.svg(container.width, container.height));
const color = d3
.scaleOrdinal()
.domain([
"North America",
"Asia",
"Oceania",
"South America",
"Europe",
"Africa"
])
.range(d3.schemeTableau10);
continents.forEach((continent) => {
svg
.append("g")
.selectAll("path")
.data(continent)
.enter()
.append("path")
.attr("d", path)
.style("fill", "none")
.style("stroke", "black")
.style("stroke-width", "1px");
});
return svg.node();
}