Fork of Social Network Graph --> ICE-8
✓ Published0🌍 Public
This example shows a small social network graph of people connected by friendship links, with the network laid out using a physics-based simulation. It loads its data from a CSV file, converts it into node and link objects, and renders nodes as circles with arrow-headed edges to indicate direction. The layout is computed with `d3.forceSimulation`, applying `forceLink`, `forceManyBody`, `forceCenter`, and `forceCollide` to position the elements, while drag behavior is enabled through the `drag` function. The SVG output updates on each simulation tick to reflect the evolving positions.
AI-generated descriptionMIT Licensed