SVGwithData = {
const width = 500,
height = 500;
const xScale = d3.scaleLinear()
.range([0, width])
.domain([0, 1]);
const yScale = d3.scaleLinear()
.range([0, height])
.domain([0, 1]);
const svg = d3.select(DOM.svg(width, height))
.style("width", width)
.style("height", height)
.style("border", "1px solid #000");
svg.selectAll("circle")
.data(HeyData)
.enter().append("circle")
.attr("cx", (d) => xScale(d.x))
.attr("cy", (d) => yScale(d.y))
.attr("r", 5)
.style("fill", "#000")
return svg.node();
}