Global zoom pan
✓ Published0🌍 Public
SSamuelRiversMoore
Last edited Dec 7, 2017
Created on Dec 7, 2017
This example shows an orthographic globe that responds to both dragging and zooming. Drag gestures rotate the projection, while zooming scales the globe’s size. The visualization uses a d3.geoOrthographic projection with a d3.geoPath renderer to draw world country boundaries from a GeoJSON file hosted by visionscarto.net. Interaction is handled via d3.zoom for scaling and d3.drag for rotation, with linear scales mapping screen coordinates to latitude and longitude offsets. The globe’s sphere is rendered as a light blue background, and a single orange point marks a specific coordinate.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed