{
const svg = d3
.select(DOM.svg(width, height))
.style("width", "100%")
.style("height", "auto");
const g = svg.append("g");
var zoom = d3.zoom().scaleExtent([1, 16]).on("zoom", zoomed);
function zoomed() {
g.attr("transform", d3.event.transform);
}
svg.call(zoom);
g.append("path")
.datum(land)
.attr("d", path)
.attr("class", "land")
.attr("stroke", "black")
.attr("fill", "white");
return svg.node();
}