Skip to main content
100%

Fork of D3 map drag demo

✓ Published0🌍 Public
KKikkolatsch
Last edited Aug 3, 2021
Created on Aug 3, 2021
Forked from D3 map drag demo

An interactive orthographic globe displays country boundaries from the World Atlas TopoJSON dataset, rendered as SVG paths via `d3.geoPath` with a `d3.geoOrthographic` projection. Users drag to rotate the globe, which updates the projection’s rotation based on the drag event’s delta and the current scale. A graticule overlay and zoom via `d3.zoom` complement the interaction, while hovering reveals country names from a TSV lookup table. Clicking a country logs its name to the console.

AI-generated description
MIT Licensed

Similar vizzes