Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 8 Task 2B

Public visualization

ICE 8 Task 2B

0 stars1🌍 Public
GGorantla Sravani
Last edited Nov 2, 2025
Created on Nov 2, 2025
Forked from ICE8-Network

This example shows a force-directed network of seven major cities connected by flight routes, rendered as an SVG with colored nodes and labeled text. It uses D3’s `forceSimulation` with `forceLink`, `forceManyBody`, and `forceCenter` to position nodes dynamically, while links are drawn as lines and nodes as circles. Interactive dragging is enabled via D3’s `drag` behavior, allowing users to move cities and observe the simulation react. The node colors come from `d3.schemeSet2`, and all elements update on each simulation tick.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed