Fork of Globe with Panning & Zooming
✓ Published0🌍 Public
This example shows an interactive orthographic globe that users can pan by dragging and zoom by scrolling. It renders country boundaries from a TopoJSON world atlas using D3’s `geoOrthographic` projection and `geoPath`, with a graticule and sphere outline for context. Panning adjusts the rotation through `drag`, while zooming updates the projection scale via `zoom`, with state managed externally to preserve the view between interactions.
AI-generated descriptionA globe with panning and zooming.
MIT Licensed