Skip to main content
100%

Choropleth Map

✓ Published1🌍 Public
RRenato Francia Castillo
Last edited Nov 7, 2018
Created on Nov 7, 2018
Forked from Choropleth Map

This choropleth map visualizes world economies by coloring each country according to its economic classification, using a spectral color scale created with `d3.scaleOrdinal` and `schemeSpectral`. The map renders as an SVG using `d3.geoPath` with the Natural Earth projection, displaying country data loaded from the world-atlas TopoJSON and TSV files. Interactive zooming via the `zoom` event lets users explore regions, while a custom `colorLegend` function shows the categorical color assignments.

AI-generated description
MIT Licensed

Similar vizzes