🌍 Public
Viewing a saved revision (read-only)
84501b95ebea4237b25a7f8d1b5143fb
Fork of 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