basic_chart = {
make_treemap_layout(basic_data);
const svg = d3
.create("svg")
.attr("width", width)
.attr("height", height);
svg
.selectAll("rect")
.data(hierarchy.leaves())
.join("rect")
.attr("x", d => d.x0)
.attr("width", d => d.x1 - d.x0)
.attr("y", d => d.y0)
.attr("height", d => d.y1 - d.y0)
.style("stroke", "red");
return svg.node();
}