Skip to main content
100%

Interactive Filtering

✓ Published0🌍 Public
NNikhil Prakash
Last edited Mar 17, 2021
Created on Mar 17, 2021

This interactive choropleth map visualizes country-level economic data from the World Atlas, rendered as SVG projections using D3’s `geoNaturalEarth1` and `geoPath` APIs. Users click countries to highlight them, which dims all others, and adjust the categorical color legend to filter which economies appear vivid. A color scale from `scaleOrdinal` with `schemeSpectral` maps economy types, while pan and zoom controls rely on D3’s `zoom` event. Country data combines TSV attributes with TopoJSON geometry via `topojson.feature`.

AI-generated description
MIT Licensed

Similar vizzes