🌍 Public
Viewing a saved revision (read-only)
d7ba18d6bbff4e9d9b129efd2fec2b23
Fork of Globe with Panning & Zooming
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