svg = {
const svg = d3.select(DOM.svg(size, size))
.style("width", "100%")
.style("height", "auto");
const leaf = svg.selectAll(".leaf")
.data(packed.leaves())
.enter().append("g")
.classed("leaf", true)
.attr("transform", d => `translate(${d.x + 1}, ${d.y + 1})`);
const circle = leaf.append("circle")
.attr("r", d => d.r)
.attr("fill", d => color(d.data.without / d.data.pop));
return svg.node();
}