d3-force testing ground
This interactive tool lets users experiment with d3-force simulation settings, adjusting forces like center, charge, collide, forceX/Y, and link properties through sliders and checkboxes. It renders a force-directed graph of the Les Misérables character co-occurrence dataset, with draggable labeled nodes and links in SVG. The simulation restarts with each parameter change, updating node positions in real time and visually indicating charge strength via node stroke color and width.
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/lorenzopub/'>lorenzopub</a>'s block: <a href='http://bl.ocks.org/lorenzopub/9ce8ab464e826086a62b785bb296dd17'>d3-force testing ground</a>