Skip to main content
100%

Network Graph

✓ Published0🌍 Public
HHarshiiiiiiiip
Last edited Jul 5, 2023
Created on Jul 5, 2023
Forked from Hello VizHub

This network graph visualizes a social network of ten people and their friendships, with green circles representing individuals and blue directed arrows connecting friends. Loaded from a local `graph.json` file, the layout is computed using `d3.forceSimulation` with link, charge, collision, and center forces to position nodes. Nodes are draggable via `d3.drag`, and hovering highlights a node by changing its stroke color. The SVG rendering uses D3 v6, with markers defining arrowheads and labels displaying each person’s name.

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