const simulation = d3 .forceSimulation() .force( "link", d3 .forceLink() .id(function (d) { return d.name; }) .strength(0.015) .distance(15) ) .force("charge", d3.forceManyBody().strength(-400)) .force('collide', d3.forceCollide() .radius(1)) .force("center", d3.forceCenter(width / 2, height / 2));