chart = {
const svg = d3.create("svg")
.attr("viewBox", [0, 0, width, height])
.attr("fill", "none")
.attr("stroke", "currentColor");
applyPencilFilterTextures(svg);
const outline = svg.append("path")
.attr("fill","mintcream");
const feature = svg.append("path")
.attr("stroke-width", "3px")
.attr("fill","white")
function render() {
outline.attr("d", path(sphere));
feature.attr("d", path(land));
}
return svg
.call(zoom(projection).on("zoom.render end.render", render))
.call(render)
.node();
}