Network Graph
✓ Published0🌍 Public
A social network graph renders a set of named individuals as circular nodes connected by directional links, with arrowheads indicating the relationship direction. The layout is computed using the `d3.forceSimulation` API, which applies link, charge, collision, and centering forces to position the nodes dynamically. Nodes are draggable via D3's `d3.drag` behavior, and colors highlight hovered nodes. The visualization loads data from a local `graph.json` file and draws the SVG scene with D3 v6.
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