Skip to main content
100%

Fork of ZoomableGlobe

✓ Published0🌍 Public
YYeeleng Scott Vang
Last edited Jul 22, 2023
Created on Jul 7, 2023
Forked from ZoomableGlobe

A fork of the ZoomableGlobe example displays an interactive world map with country boundaries and graticules, sourced from World Atlas TopoJSON. The map uses an equirectangular projection and renders landmasses as SVG paths via d3.geoPath, with React managing component state. Users can pan and zoom the map through a d3.zoom behavior, which updates the SVG group transform and adjusts stroke widths inversely to the zoom scale. The visualization also tracks mouse position and passes it to the projection’s invert method, allowing coordinate lookup on interaction.

AI-generated description

A world map showing country boundaries from World Atlas TopoJSON, polished for visual style, including graticules.

MIT Licensed

Similar vizzes