Skip to main content
100%

India Subdistricts

✓ Published0🌍 Public
CCurran Kelleher
Last edited Mar 7, 2024
Created on Mar 7, 2024
Forked from Spinning Globe

A spinning orthographic globe renders world country boundaries from TopoJSON data, with a graticule and sphere outline overlaid. The visualization animates rotation around the Y-axis using `requestAnimationFrame` to continuously update the projection’s rotation via `d3.geoOrthographic`. The code explicitly sets a fixed latitude tilt of -20 degrees while incrementally decreasing longitude each frame. Country paths are drawn using `d3.geoPath`, with the data sourced from the `visionscarto-world-atlas` package. The animation demonstrates how to combine `d3-geo` projections with reactive state updates and cleanup of animation frames.

AI-generated description

A spinning globe!

See also:

MIT Licensed

Similar vizzes