Choropleth Map
✓ Published2🌍 Public
This choropleth map visualizes global income groups by coloring each country according to its `income_grp` attribute, using a spectral color scale (`d3.schemeSpectral`). The map shows a natural Earth projection rendered with `d3.geoPath`, with hover interactions highlighting countries in red. Built with React and D3 v6, it loads world boundary data from the `world-atlas` package via TopoJSON and TSV files, and includes a custom color legend component. The visualization supports zooming through a zoom behavior API.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed