Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Globe with Panning & Zooming

Public visualization

Viewing a saved revision (read-only)

d840558da8494bc584aa80ccbde4b820

Fork of Globe with Panning & Zooming

0 stars0🌍 Public
Ffadingcode9@gmail.com
Last edited Apr 12, 2024
Created on Apr 12, 2024

This example shows an interactive orthographic globe that users can pan by dragging and zoom by scrolling. It renders country boundaries from a TopoJSON world atlas using D3’s `geoOrthographic` projection and `geoPath`, with a graticule and sphere outline for context. Panning adjusts the rotation through `drag`, while zooming updates the projection scale via `zoom`, with state managed externally to preserve the view between interactions.

AI-generated description

A globe with panning and zooming.

MIT Licensed