Skip to main content
100%

Assignment 8 Network

✓ Published1🌍 Public
445.saiful@gmail.com
Last edited Apr 13, 2026
Created on Apr 13, 2026
Forked from Assignment 8 Tree

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 description
MIT Licensed

Similar vizzes