{
for (let i = 0; i < 200; i++){
simulation.tick();
}
const svg = d3.create("svg")
.attr("width", width)
.attr("height", height)
.attr("overflow", "visible");
svg.selectAll(".country")
.data(world.features)
.enter().append("path")
.attr("class", "country")
.attr("d", path)
.attr("fill", "#f5f5f5")
.attr("stroke", "#e0e0e0")
.style("display", "block");
svg.selectAll("circle")
.data(world.features)
.enter().append("circle")
.attr("r", d => r(d.properties.POP_EST))
.attr("cx", d => d.x)
.attr("cy", d => d.y)
.attr("fill", "steelblue")
.attr("fill-opacity", 0.3)
.attr("stroke", "steelblue");
return svg.node();
}