Fork of Panning & Zooming on a Globe
✓ Published0🌍 Public
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 descriptionAn updated version of Orthographic Zoom I.
See also iterated versions:
MIT Licensed