Activity-8.6.2
✓ Published0🌍 Public
This example shows a social network graph of nine named individuals connected by weighted links. The node-link diagram uses D3's `forceSimulation` engine, combining `forceLink`, `forceManyBody`, `forceCollide`, and `forceCenter` to compute the layout. Each node is a light-green circle rendered with SVG, and links are blue lines with arrow markers. Data sets come from `graph.json`, loaded via `fetch`, and the code uses `scaleOrdinal` for coloring, though not visible in this output.
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