Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3 map drag demo

Public visualization

Fork of D3 map drag demo

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed