Fork of Globe with Panning & Zooming
✓ Published0🌍 Public
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 descriptionA globe with panning and zooming.
MIT Licensed