Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Map

Public visualization

Fork of Map

0 stars0🌍 Public
Ssravya7136@gmail.com
Last edited Nov 9, 2025
Created on Nov 9, 2025
Forked from Map

This visualization combines a geographic map of India with a force-directed particle system. It uses D3.js (`d3.geoPath` and `d3.forceSimulation`) to render state boundaries and simulate particle movement, while Canvas `getImageData` samples pixel colors from the map to seed the particles with positional data. The particles originate from the map's interior and are drawn as a dynamic, flowing representation of the country's shape. The code loads GeoJSON topology data to define the map outlines and animates the particles over time.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed