Skip to main content
100%

Choropleth Map

✓ Published0🌍 Public
BBahareh Zarei
Last edited Oct 18, 2018
Created on Oct 18, 2018
Forked from Choropleth Map

This choropleth map colors countries by their economy category using a sequential spectral color scale. It renders world geography as SVG paths via the `d3.geoPath` and `d3.geoNaturalEarth1` projection, with zoom support through `d3.zoom`. Country names and values appear as tooltips, and a custom `colorLegend` component displays the ordinal scale. The data is loaded from a TopoJSON world atlas and a TSV mapping country IDs to metadata. Hovering highlights countries in red.

AI-generated description
MIT Licensed

Similar vizzes