Skip to main content
100%

Choropleth Map with Interactive Filtering

✓ Published0🌍 Public
AAndreas Loew
Last edited Dec 8, 2019
Created on Dec 8, 2019

A choropleth map of world countries, colored by ordinal income group, includes a color legend that filters the map when clicked. Clicking a legend label dims all countries except those in that group; clicking the same label again clears the filter. The map uses the `geoNaturalEarth1` projection with SVG paths generated by `geoPath`, and the legend re-renders via an `onClick` handler. Data is loaded from a world-atlas TopoJSON and TSV files.

AI-generated description

A choropleth map where you can hover over items in the color legend items to interactively filter!

MIT Licensed

Similar vizzes