Fork of Social Network Graph --> ICE-8
✓ Published0🌍 Public
This example displays a small social network of four interconnected people, rendered as a force-directed graph in two separate SVG views. The code uses D3 v6’s `d3.forceSimulation` with link, charge, collision, and centering forces to position the nodes, which are drawn as large red circles with labels. Each node can be dragged interactively, and hovering changes its stroke width. The graph is loaded from a local `data.json` file, with every node and link redrawn on each simulation tick.
AI-generated descriptionMIT Licensed