Skip to main content
100%

Fork of Choropleth Map with Interactive Filtering

✓ Published0🌍 Public
CCheng Tang
Last edited Oct 31, 2022
Created on Oct 31, 2022

This interactive choropleth map displays world economies color-coded by category, with a legend that allows users to click on a category to filter the map's display. The visualization uses a D3.js geoNaturalEarth1 projection and geoPath to render country shapes, with a sequential color scale derived from d3.schemeSpectral. Data is loaded from World Atlas. Hovering a country reveals its name and economy type. Clicking a legend item dims non-matching countries and brightens those in the selected category.

AI-generated description

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

MIT Licensed

Similar vizzes