Skip to main content
100%

Fork of Globe with Panning & Zooming

✓ Published0🌍 Public
SShaik Rizwana
Last edited Feb 13, 2025
Created on Feb 13, 2025

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 description

A globe with panning and zooming.

MIT Licensed

Similar vizzes