Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Spinning Globe 1

Public visualization

Fork of Spinning Globe 1

0 stars0🌍 Public
Jjeetamakhal@gmail.com
Last edited Aug 27, 2025
Created on Aug 27, 2025
Forked from Spinning Globe

This animated visualization shows a spinning orthographic globe with country boundaries and a graticule grid, rotating continuously around its vertical axis. The map renders world geography from a TopoJSON dataset fetched from unpkg.com, using D3’s `geoOrthographic`, `geoPath`, and `geoGraticule` to project and draw the sphere, outline, and countries. Animation is driven by `requestAnimationFrame`, updating the rotation state to decrement the longitude each frame, which re-renders the projection. The code manages state transitions and cleanup for hot reloading.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed