Assn2t7_graph
✓ Published0🌍 Public
This example shows a force-directed network graph of social relationships among eight people, where nodes represent individuals and links depict "Friend with" connections with varying strengths. The visualization uses D3 v6’s `d3.forceSimulation`, `d3.forceLink`, `d3.forceManyBody`, and `d3.forceCollide` to position nodes, with drag interactions to move them. Black circles with lime labels render via an SVG, and hovering highlights nodes via a CSS class. The data comes from `data.json`, containing node groups and link relationships.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed