Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Choropleth Map with Interactive Filtering

Public visualization

Fork of Choropleth Map with Interactive Filtering

0 stars0🌍 Public
Iion.cojoc@gmail.com
Last edited Sep 8, 2024
Created on Sep 8, 2024

This choropleth map colors countries by economic grouping using a categorical color scale. Users can click legend items to filter the map, dimming non-matching countries while highlighting the selected group. The visualization uses d3.geoNaturalEarth1 and d3.geoPath for map projection, d3.zoom for panning, and d3.scaleOrdinal with schemeSpectral. Country boundaries come from the world-atlas TopoJSON dataset, with hover effects and a tooltip displaying country names and values.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed