🌍 Public
Viewing a saved revision (read-only)
ae6b3d7947f3498fa6df7245570ae7d9
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