Skip to main content
100%

Social Network

✓ Published0🌍 Public
TTejaswi@3271
Last edited Apr 4, 2022
Created on Apr 4, 2022
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes