Fork of Globe with Panning & Zooming
✓ Published0🌍 Public
This example shows an interactive orthographic globe of the world, rendered with D3’s `geoOrthographic` projection. Users can pan by dragging and zoom with the mouse wheel. The map displays country boundaries and a graticule from TopoJSON data loaded from the VisionsCarto world atlas. D3’s `drag` and `zoom` behaviors update the projection’s rotation and scale, and the code also demonstrates styling the sphere outline and adding city markers.
AI-generated descriptionA globe with panning and zooming.
MIT Licensed