Skip to main content
100%

Choropleth Map

✓ Published0🌍 Public
LLaura Molina
Last edited Jun 30, 2020
Created on Jun 30, 2020
Forked from Choropleth Map

A choropleth map colors world countries by economic grouping, using a spectral color scale and an accompanying legend. Built with D3 v5 and TopoJSON, it loads country boundaries and metadata from the world-atlas package. The map renders as SVG paths via `d3.geoPath` with a natural Earth projection, supports zooming through `d3.zoom`, and highlights countries on hover. The color legend is a custom component using `d3.scaleOrdinal` and `d3.schemeSpectral`.

AI-generated description
MIT Licensed

Similar vizzes