🌍 Public
Fork of d3map
This interactive globe visualizes country-level data from a TopoJSON world atlas. Users can drag the globe horizontally to rotate it, and hovering over a country updates an information panel showing its name. Built with d3-geo projections and d3-drag, the visualization uses an orthographic projection rendered as SVG paths, with d3.geoPath generating the country outlines. The rotation logic is computed directly from mouse coordinates rather than using versor-based dragging.
AI-generated descriptionD3 map tutorial
So far its working!!!
MIT Licensed
Comments
Sign in to join the discussion.