Social Network
✓ Published0🌍 Public
A social network diagram displays twelve named individuals as circles, grouped into five clusters, with connecting lines representing weighted links between them. The visualization uses D3’s force layout to position nodes and edges, with link thickness scaled to the square root of the connection weight. Nodes are rendered as green circles with crimson outlines and labeled with names, while pink lines show relationships. The example loads data from a local JSON file and relies on D3 v4’s `d3.layout.force` and drag behavior to create the interactive, SVG-based graph.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed