Assignment 8 Network
✓ Published1🌍 Public
This example visualizes a small student collaboration network, showing seven nodes arranged into three groups connected by seven study-partnership links, including a cycle. Using D3.js v7, the code builds an SVG scene with a force-directed layout from `d3.forceSimulation` and applies a color scale from `d3.scaleOrdinal` with `d3.schemeCategory10`. Nodes are drawn as draggable circles with text labels, while links appear as lines; the simulation tick updates all positions based on charge and link distance forces.
AI-generated descriptionMIT Licensed