(function addRootNode(){
const svg = d3
.create("svg")
.attr("id","rootNode")
.attr("viewBox", [0, 0, width, 200])
const node = svg
.append("g")
.attr("id","some")
.append("circle")
.attr("cx",20)
.attr("cy",20)
.attr("r",5)
.attr("fill","black")
return svg.node()
})()