Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 map drag demo

Public visualization

Viewing a saved revision (read-only)

ce98974163b544e2b416ef2c7a106e06

D3 map drag demo

0 stars0🌍 Public
JJacob Philpott
Last edited Jan 18, 2021
Created on Jan 18, 2021
Forked from D3 map drag demo

This example presents an interactive orthographic globe rendered with SVG. Users can click and drag to rotate the projection, which dynamically updates the graticule and country boundaries. The visualization uses d3.geoOrthographic, d3.geoPath, d3.zoom, and d3.drag to handle the interaction. Country polygons come from the world-atlas TopoJSON dataset, with names from the accompanying TSV file displayed as tooltips.

AI-generated description