Network Graph
✓ Published0🌍 Public
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 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