Activity8_Task6_Network Graph
✓ Published0🌍 Public
A social network graph visualizes friend connections among ten people, with nodes labeled by name and linked by directional lines with arrow markers. The network uses D3's force-directed layout (`d3.forceSimulation`) with link distance, charge, collision, and centering forces to position nodes. Nodes are green circles with white strokes that highlight yellow on hover, while links are blue. The data loads from a local `graph.json` file, and the visualization renders entirely as SVG, with drag interactions enabled via D3's `d3.drag` behavior.
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