chart = {
const svg = d3.create("svg")
.attr("viewBox", [0, 0, width, 100])
const circle = svg.selectAll("circle")
.data(data)
.join("circle")
.attr("cx", function(d, i) { return (i * 100) + 50 + i*20} )
.attr("cy", 100/2)
.attr("r", 50)
.attr("fill", function(d) {return colorScale(d.name)})
return svg.node()
}