{
const width = 500;
const height = 500;
const svg = d3.create("svg")
.attr("width", width)
.attr("height", height)
const offsetX = width / 2
const offsetY = height / 2
svg.append("circle")
.attr("r", 10)
.attr("cx", offsetX)
.attr("cy", offsetY)
.attr("transform", `translate(${offsetX},${offsetY}) scale(${scale}) translate(${-offsetX},${-offsetY})`)
return svg.node()
}