Skip to main content
100%

Fork of Spinning Globe

✓ Published0🌍 Public
AAaron Wong
Last edited May 28, 2024
Created on May 28, 2024
Forked from Spinning Globe

This example shows a spinning orthographic globe with country boundaries and a graticule grid, rotating smoothly around its vertical axis with a fixed tilt. The animation updates the globe’s rotation state on each frame using `requestAnimationFrame`, and the map is rendered with `d3.geoOrthographic` and `d3.geoPath`. Country shapes come from TopoJSON data fetched from a world atlas, while a sphere outline and graticule are drawn using `d3.geoGraticule`. The code demonstrates incremental rotation updates and cleanup of animation frames.

AI-generated description

A spinning globe!

See also:

MIT Licensed

Similar vizzes