Social Network Graph
✓ Published0🌍 Public
This interactive social network graph visualizes friendships among seven people using a force-directed layout. The D3.js visualization renders nodes as orange circles with name labels and directed arrows for edges, showing connections like David's links to Emma, James, Oliver, Sophia, and Liam. The graph uses `d3.forceSimulation` with link, charge, collision, and center forces to position nodes dynamically. Users can drag nodes to rearrange the network, with hover effects highlighting individual nodes. The example demonstrates D3 v6 imports via UNPKG, JSON data loading, and SVG rendering with mouse event handlers and 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