Viewing a saved revision (read-only)
8bd8b31f30834599b8c9f84cef25bf90
Fork of Choropleth Map with Interactive Filtering
This choropleth map visualizes world countries colored by their economic group, with an interactive color legend that filters the map to show only countries in a selected category. Clicking a legend entry dims non-matching countries to 10% opacity while highlighting the selected group, and clicking again resets the view. The visualization uses d3.geoPath with a natural Earth projection, d3.scaleOrdinal with a spectral color scheme, and loads country boundaries and metadata from the world-atlas package. A zoom interaction is also included, allowing users to pan and scale the map.
AI-generated descriptionA choropleth map where you can hover over items in the color legend items to interactively filter!