chart = {
const svg = d3.create("svg").attr("viewBox", [0, 0, width, height]);
svg
.append("g")
.attr("fill", "steelblue")
.selectAll("rect")
.data(fruits)
.join("rect")
.attr("x", )
.attr("y", )
.attr("height", )
.attr("width", );
svg.append("g").call();
svg.append("g").call();
return svg.node();
}