Skip to main content
100%

D3 Map

✓ Published2🌍 Public
SShubham Yadav
Last edited Dec 20, 2019
Created on Dec 20, 2019
Forked from D3 Map

This interactive world map displays countries in light green on a blue sphere, with hover states that turn a country red and show its name. The visualization uses a D3 geoPath with the geoNaturalEarth1 projection to render both the sphere and country outlines, while the topojson `feature` API converts the world-atlas GeoJSON data into drawable paths. A D3 zoom controller applies SVG transforms to the grouped elements for panning and zooming, and the map is rendered entirely as SVG elements.

AI-generated description
MIT Licensed

Similar vizzes