🌍 Public
Viewing a saved revision (read-only)
0a2e81c47fa740e2888a9ef8531c1960
Fork of ICE-8: Social Network
This example visualizes a small social network of six people, with five connections between them, using a force-directed graph layout. In the visualization, blue circular nodes represent individuals and red lines with varying thickness indicate the strength of their relationships. The code loads the network data from a `data.json` file, then uses D3’s `d3.layout.force` to simulate the layout, with node dragging enabled and labels attached to each node. All graphical elements are drawn as SVG shapes, styled via CSS.
AI-generated description