Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Assignment 8 Network

Public visualization

Assignment 8 Network

0 stars1๐ŸŒ 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

Comments

Sign in to join the discussion.

MIT Licensed