Skip to main content
100%

Choropleth Map With Interactive Filtering

✓ Published0🌍 Public
Bbprokopowicz
Last edited Apr 1, 2020
Created on Apr 1, 2020
Forked from Choropleth Map

A choropleth map of world countries colored by economy, with an interactive color legend that filters the map to highlight countries in a selected category. Clicking a legend entry dims non-matching countries and increases their stroke width; clicking again clears the filter. Built with D3 v5, the visualization uses `d3.geoNaturalEarth1` and `d3.geoPath` to render topojson country features from the world-atlas dataset, with `d3.scaleOrdinal` and `schemeSpectral` for colors.

AI-generated description

D3 course follow along.

MIT Licensed

Similar vizzes