{
const svg = d3.select(DOM.svg(width, height));
svg.append("g")
.call(xAxis);
svg.append("g")
.call(yAxis);
svg.append(() => dataGroup.node());
svg.append("g")
.attr("fill", "none")
.attr("stroke", "orange")
.attr("fill", "orange")
.attr("fill-opacity", "0.1")
.attr("stroke-linejoin", "round")
.attr("stroke-width", "3")
.attr("pointer-events", "none")
.selectAll("path")
.data(contours(contourSize) || contours.last.contour)
.enter().append("path")
.attr("d", d3.geoPath());
return svg.node();
}