Network Graph
✓ Published0🌍 Public
This network graph visualizes a social network of ten individuals, using pink rectangles as nodes and brown, arrowed lines to depict friendships. The graph is rendered as an SVG and uses a force-directed layout via `d3.forceSimulation` with forces for links, charge, collision, and centering. Users can drag nodes, which triggers the simulation to restart. Data is loaded from a local `graph.json` file, and node highlighting occurs on mouseover via CSS class changes.
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