Project Fork
✓ Published0🌍 Public
This example shows a simple force-directed network graph with three nodes connected by directed links, rendered in an SVG container using React. The code uses D3 v6’s `d3.forceSimulation` with `d3.forceLink`, `d3.forceManyBody`, and `d3.forceCenter` to position circular nodes, while lines represent links. On simulation end, node sizes increase by 3 pixels per incoming link count. The included `miserables.json` suggests a potential dataset, though the sample uses hardcoded nodes.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed