chart= {
const svg= d3.create('svg').attr("viewBox", [0, 0, width, height]);
const layer1= svg.append("g");
const layer2= svg.append("g");
layer1.append("circle")
.join("circle")
.attr("cx", 10)
.attr("cy", 20)
.attr("r", 10);
layer2.append("rect")
.join("rect")
.attr("x", 65)
.attr("y", 30)
.attr("width", height / 2)
.attr("height", 40)
.attr("fill", color_scale);
return svg.node();
}