Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of d3map

Public visualization

Fork of d3map

0 stars1🌍 Public
Nnstafford
Last edited Jun 23, 2021
Created on Jun 7, 2021
Forked from 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 description

D3 map tutorial

So far its working!!!

Comments

Sign in to join the discussion.

MIT Licensed