Skip to main content
100%

Fork of D3 map drag demo

✓ Published0🌍 Public
AAndre J Denais
Last edited Jan 5, 2022
Created on Jul 30, 2021
Forked from D3 map drag demo

This interactive globe displays world countries as clickable paths on an orthographic projection, with hover tooltips showing country names from the World Atlas TopoJSON dataset. Users can rotate the sphere by dragging, which adjusts the projection’s rotation via d3.drag and d3.geoPath, while a graticule and sphere outline provide spatial reference. A d3.zoom transform also pans and scales the entire SVG group, and country fill changes on hover through CSS.

AI-generated description
MIT Licensed

Similar vizzes