{
const svg = d3.create("svg").attr("width", width).attr("height", height);
svg
.selectAll("circle")
.data(dataset)
.join("circle")
.attr("cx", (d, i) => x(i))
.attr("cy", height / 2)
.attr("r", size)
.attr("fill", "red")
.attr("opacity", 0.5);
return svg.node();
}