Skip to main content
100%

Fork of Globe with Panning & Zooming

✓ Published0🌍 Public
Llingjizhu@gmail.com
Last edited Mar 27, 2024
Created on Mar 27, 2024

This interactive visualization presents a draggable, zoomable world map on a globe projection, allowing users to pan across the globe and zoom in and out with smooth, responsive controls. It displays country boundaries, a graticule grid, and a sphere outline over a plain background. The implementation uses D3’s `geoOrthographic` and `geoEquirectangular` projections, `geoPath` for rendering, and `drag` and `zoom` behaviors to manage rotation and scale changes. Country data is loaded from a TopoJSON world atlas via `topojson-client`, with interaction states tracked in a central state object.

AI-generated description

A globe with panning and zooming.

MIT Licensed

Similar vizzes