circle = {
var svg = d3.select(DOM.svg(width, height))
.attr("width", width+"px")
.attr("height", height+"px");
svg.selectAll("line").data(pi).enter().append("line")
.attr("x1", (d,i)=>(Math.sin(aroundTheCircle + Math.PI / 2)*radius)+width/2)
.attr("y1", (d,i)=>(Math.cos(aroundTheCircle + Math.PI / 2)*radius)+height/2)
.attr("x2", width/2)
.attr("y2", height/2)
.style("stroke-width", "2px")
.style("stroke","darkgrey")
svg.selectAll("circle").data(pi).enter().append("circle")
.attr("cx", (d,i)=>(Math.sin(aroundTheCircle + Math.PI / 2)*radius)+width/2)
.attr("cy", (d,i)=>(Math.cos(aroundTheCircle + Math.PI / 2)*radius)+height/2)
.attr("r", d=>10)
svg.append("circle")
.attr("cx", width/2)
.attr("cy", height/2)
.attr("r",5)
.style("opacity", .5)
yield svg.node();
}