Fork of ZoomableGlobe
✓ Published0🌍 Public
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 descriptionA world map showing country boundaries from World Atlas TopoJSON, polished for visual style, including graticules.
MIT Licensed