choropleth map with interactive filtering
✓ Published0🌍 Public
This choropleth map displays global economic classifications using a color scale, with a legend that supports interactive filtering. Clicking a legend category dims other categories, highlighting only the selected economy type on the map. The visualization uses d3.geoNaturalEarth1 projection and d3.geoPath for rendering country shapes from TopoJSON data, with d3.zoom for panning and zooming. The legend is built with custom SVG elements, while colors come from the d3.schemePuBuGn ordinal scale.
AI-generated descriptionMIT Licensed