Skip to main content
100%

Fork of D3 map drag demo

✓ Published0🌍 Public
Aamanoakane
Last edited Jul 16, 2021
Created on Jul 16, 2021
Forked from D3 map drag demo

This interactive orthographic globe displays country borders draped over a sphere, with the map rendered as SVG paths. Clicking a country logs its name to the console based on data from a world-atlas TSV file, while hovering highlights the country. A graticule and sphere provide context. Users can drag to rotate the globe, which dynamically redraws all paths using `d3.geoPath` and updates the projection, and a `d3.zoom` interaction applies transformations to the group.

AI-generated description
MIT Licensed

Similar vizzes