Skip to main content
100%

Choropleth Map

✓ Published0🌍 Public
SShanthi Acharya
Last edited Aug 12, 2019
Created on Aug 12, 2019
Forked from Choropleth Map

This choropleth map colors countries according to their economic classification, with a discrete ordinal color scale and an interactive color legend. Using D3 v5 and the `geoNaturalEarth1` projection, it renders TopoJSON world data loaded from the world-atlas package and merges it with TSV metadata containing country names and income groups. Users can pan and zoom via D3's zoom behavior, while hovering highlights countries in red and displays a tooltip with the country name and economy type. The legend is built with a custom colorLegend component.

AI-generated description
MIT Licensed

Similar vizzes