🌍 Public
Viewing a saved revision (read-only)
a7c6c38635224409add50d6294ed8f3c
Globe with Panning & Zooming
This example presents an interactive orthographic globe that users can pan by dragging and zoom with the scroll wheel. The visualization renders landmasses and internal country borders, projecting the 3D sphere onto a 2D plane using d3.geoOrthographic and d3.geoPath. The globe's rotation and scale are controlled via d3.drag and d3.zoom, with panning sensitivity inversely tied to the current zoom level. World geometry comes from the visionscarto-world-atlas package, processed with topojson-client to extract features and meshes.
AI-generated descriptionA globe with panning and zooming.
MIT Licensed