Skip to main content
100%

Fork of Panning & Zooming on a Globe

✓ Published0🌍 Public
Ssophievanderhorst
Last edited Oct 11, 2022
Created on Oct 11, 2022

This example shows an interactive orthographic globe that can be panned by dragging and zoomed with the mouse wheel. Dragging rotates the projection based on drag distance and scale, while zooming adjusts the projection’s scale factor. The globe renders country boundaries from the `world-atlas` TopoJSON dataset using `d3.geoOrthographic` and `d3.geoPath`. User interaction is handled through `d3.drag` and `d3.zoom`, with rendering updating dynamically on each event.

AI-generated description

An updated version of Orthographic Zoom I.

See also iterated versions:

MIT Licensed

Similar vizzes