Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Untitled

Public visualization

Untitled

0 stars0🌍 Public
Ppgraybeal
Last edited Sep 10, 2020
Created on Sep 10, 2020
Forked from HTML Starter

This example visualizes a particle system flowing over a map of the United States, where each particle traces a path across the country. It uses d3.forceSimulation with custom forces to drive particle movement, while d3.geoPath renders the geographic boundaries from a TopoJSON source. The particles leave fading trails on a Canvas, creating a dynamic migration-like pattern. The code reads pixel data via Canvas getImageData to constrain particles to landmasses, and employs d3.transition with attrTween for smooth position updates.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed