Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Panning & Zooming on a Globe

Public visualization

Viewing a saved revision (read-only)

02ba9a03cd9e47a7ba26bcf3f89c5578

Fork of Panning & Zooming on a Globe

0 stars0🌍 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: