🌍 Public
Viewing a saved revision (read-only)
3542f0270fb3467daf6126b20d380dae
Social Network graph - ICE-8
This graph visualizes a small social network of nine people, showing connections between individuals as weighted links. The code uses `d3.layout.force` with gravity, distance, and charge parameters to position nodes, and renders the network as an SVG with red circles and blue lines. Node labels are displayed next to each circle, and link thickness reflects the `weight` value from the JSON data. Users can drag nodes to explore the layout. The implementation loads data from a `graph.json` file and uses D3 v4 for the force simulation and DOM manipulation.
AI-generated description