chart = {
const svg = d3.create("svg")
.attr("viewBox", [0, 0, width, height]);
svg.append("g")
.call(xAxis);
svg.append("g")
.call(yAxis);
svg.append("circle")
.attr("cx", x(0))
.attr("cy", y(0))
.attr("r", "1").attr("fill", "cyan")
return svg.node();
}