Skip to main content
100%

Choropleth Map with Interactive Filtering

✓ Published0🌍 Public
MManishJariwala22
Last edited Sep 24, 2019
Created on Sep 24, 2019

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 description

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

MIT Licensed

Similar vizzes