Choropleth Map with Interactive Filtering
✓ Published0🌍 Public
MManishJariwala22
Last edited Sep 24, 2019
Created on Sep 24, 2019
Forked from Choropleth Map with Interactive Filtering
This choropleth map colors countries by economy type using an ordinal color scale with a spectral scheme, drawing geographic features with d3.geoPath and a Natural Earth projection. Users can click legend items to filter the map, which dims non-selected countries and highlights the chosen category. The visualization loads world topology from TopoJSON and tab-separated metadata, and implements zooming via d3.zoom. Interactive legend and map updates are managed through D3 v5 selection methods, with hover effects on countries and click-to-toggle filtering on legend ticks.
AI-generated descriptionA choropleth map where you can hover over items in the color legend items to interactively filter!
MIT Licensed