d3-force testing ground
This interactive demo lets users tweak the forces behind a d3-force simulation in real time. It displays a force-directed graph of the Les Misérables character network, with nodes and links rendered as SVG circles and lines. Using sliders and checkboxes, one can adjust parameters for center, charge, collide, forceX, and forceY forces, which are applied via `d3.forceSimulation` and its associated `d3.forceLink`, `d3.forceManyBody`, `d3.forceCollide`, `d3.forceCenter` functions. The simulation updates the node positions after each tick.
AI-generated descriptionThis demo lets you interactively try various settings and combinations of forces for d3-force.
It's based on Mike Bostock's example code for a force directed graph.
forked from <a href='http://bl.ocks.org/steveharoz/'>steveharoz</a>'s block: <a href='http://bl.ocks.org/steveharoz/8c3e2524079a8c440df60c1ab72b5d03'>d3-force testing ground</a>
forked from <a href='http://bl.ocks.org/Stroked/'>Stroked</a>'s block: <a href='http://bl.ocks.org/Stroked/ce021c2d179972de88a8cea0734e6bf5'>d3-force testing ground</a>