Fork of Choropleth Map with Interactive Filtering
✓ Published0🌍 Public
NNYCUBK201
Last edited Sep 20, 2023
Created on Sep 20, 2023
Forked from Choropleth Map with Interactive Filtering
This choropleth map displays world economies using color-coded countries, with an interactive legend that filters the map by clicking on a category while dimming non-matching regions. Built with D3 v5, it uses `geoNaturalEarth1` and `geoPath` for the map projection, `scaleOrdinal` with `schemeSpectral` for coloring, and `zoom` for panning. Hovering reveals country names via `title` elements. Data comes from the world-atlas TopoJSON dataset, enriched with a TSV file of economy classifications. The SVG rendering synchronizes legend and map states through shared `selectedColorValue` events.
AI-generated descriptionA choropleth map where you can hover over items in the color legend items to interactively filter!
MIT Licensed