map = {
const svg = d3.select(DOM.svg(width, height));
svg.append("path")
.attr("fill", "none")
.attr("stroke", "#ccc")
.attr("d", path(graticule));
svg.append("g")
.selectAll("path")
.data(countries)
.join("path")
.attr("fill", (d, i) => d3.schemeCategory10[index[i] % 10])
.attr("d", path);
svg.append("path")
.attr("fill", "none")
.attr("stroke", "black")
.attr("stroke-width", 1.5)
.attr("d", path(sphere));
return svg.node();
}