🌍 Public
Viewing a saved revision (read-only)
b6d2401f5e1046a38e360005af1eceab
Fork of Social_Network_graph_ICE-8
This fork of the Social_Network_graph_ICE-8 example displays a small social network of nine named people, grouped into clusters, with eight weighted connections between them. The visualization uses D3 v4’s force layout to position nodes and links, rendering them as SVG circles and lines. Node labels appear in red text, while circles have blue fills and strokes. The code loads data from a JSON file, applies a force-directed simulation with gravity, charge, and distance parameters, and supports dragging nodes via `force.drag`. Link thickness reflects the numeric weight of each connection.
AI-generated description