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