Skip to main content
100%

Fork of Fork of ICE-8 NETWORK

✓ Published0🌍 Public
Sshreelasya.bezawada@gmail.com
Last edited Nov 9, 2025
Created on Nov 9, 2025

This example visualizes a network of cities, where each city is connected to its two nearest neighbors by geographic distance, and nodes are colored by country. The view merges a world-map projection with a force-directed layout: a Mercator projection places cities at their real-world positions, while `d3.forceSimulation` with linked `forceLink`, `forceManyBody`, `forceCollide`, and `forceX`/`forceY` forces keeps them near those anchors during drag interactions. Data is loaded from a CSV via `d3.text` and parsed with a regular expression. Hovering shows details in a tooltip, and labels adjust as the simulation runs.

AI-generated description
MIT Licensed

Similar vizzes