Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Interactive Filtering

Public visualization

Interactive Filtering

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed