Skip to main content
100%

world_map

✓ Published0🌍 Public
IInnoFail
Last edited Oct 18, 2021
Created on Oct 18, 2021

This example visualizes world countries colored by economic classification using a natural Earth projection. The map supports zooming and panning, with hover highlighting and tooltips showing country names and economic categories. Built with D3 v5 and TopoJSON, it loads world atlas data from unpkg, utilizes `d3.geoNaturalEarth1` and `d3.geoPath` for geographic rendering, and applies a spectral color scale via `d3.scaleOrdinal` and `d3.schemeSpectral`. SVG paths enable interactive styling and title tooltips.

AI-generated description
MIT Licensed

Similar vizzes