🌍 Public
Viewing a saved revision (read-only)
941623b454e440258f560d883c59245a
Force-Graph
A force-directed graph visualizes relationships among four nodes labeled A through D, with curved arrows representing directed links whose thickness corresponds to a numeric value. The D3 v4 force layout, specifically `d3.layout.force`, positions nodes via simulated physics—charge repulsion and link distance—while SVG paths draw the arcs. Node labels and circles are rendered in SVG, and the graph loads JSON data from a static file. The code also enables dragging nodes and updates positions on each tick event.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.