Skip to main content
100%

Fork of Globe with Panning & Zooming

✓ Published0🌍 Public
LLacene Dihia
Last edited May 10, 2024
Created on May 10, 2024

This animated globe visualization uses the orthographic projection from d3.geoOrthographic and d3.geoPath to render world countries as vector paths, with a graticule overlay and outlined sphere for spatial context. Panning and zooming are driven by continuous rotation of the projection via requestAnimationFrame, which updates the state’s rotation array in a d3 visualization framework. The geographic data comes from a TopoJSON world atlas fetched with the topojson-client library, and the animation renders countries with white strokes against a black outline.

AI-generated description

A globe with panning and zooming.

MIT Licensed

Similar vizzes