Assignment 2 network graph
✓ Published1🌍 Public
This D3.js network graph visualizes a force-directed layout of ten labeled nodes (A through J), each representing a person’s name, connected by ten undirected links. The simulation uses `d3.forceSimulation` with a link force (at a distance of 100), a many-body charge force for repulsion, and a center force to keep the graph balanced. Nodes are rendered as light-blue circles with text labels, and links as black lines, all drawn as SVG elements. The `render` function updates node and link positions on each simulation tick.
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