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
Vvigneswaran009
Last edited May 15, 2021
Created on May 15, 2021
Forked from D3 map drag demo

An interactive orthographic globe displays world countries as colored paths, draggable via mouse to rotate the projection. Clicking a country logs its name to the console, while hovering reveals tooltips with country names from the world-atlas TSV file. The visualization uses D3 v5’s `d3.geoOrthographic`, `d3.geoPath`, `d3.drag`, and `d3.zoom`, with TopoJSON data rendered as SVG paths. A graticule and sphere outline provide geographic context, and country fill colors change on hover.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed