Panning & Zooming on a Globe - old
✓ Published2🌍 Public
This example shows an interactive orthographic globe that supports panning and zooming. Users drag to rotate the Earth and use the mouse wheel to scale the projection. The visualization renders world landmasses from TopoJSON data using `d3.geoOrthographic` and `d3.geoPath`. Panning is implemented with `d3.drag` to adjust the projection’s rotation, while zooming uses `d3.zoom` to modify its scale. The code also uses `d3.select` and `d3.json` to load and render the geographic features.
AI-generated descriptionAn updated version of Orthographic Zoom I.
See also iterated versions:
MIT Licensed