chart = {
const svg = d3.create("svg").attr("viewBox", [0, 0, width, height]);
const tooltip = d3tip()
.html(`<div> Hello </div>`);
svg.call(tooltip);
svg
.append("circle")
.attr("id", "circle1")
.attr("r", 50)
.attr("cx", 50)
.attr("cy", 100)
.on("mouseover", tooltip.show)
.on("mouseout", tooltip.hide);
return svg.node();
}