Skip to main content
100%

Choropleth Map

✓ Published2🌍 Public
MMatthew Rubino
Last edited Jun 14, 2021
Created on Jun 13, 2021
Forked from Make a Map

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes