Skip to main content
100%

Map with Selectable Countries

✓ Published0🌍 Public
Ggcappadaniel
Last edited Jun 3, 2020
Created on Jun 3, 2020

A choropleth map displays countries color-coded by economy using D3's `geoNaturalEarth1` projection and `geoPath`. Users click countries to select them, which highlights the chosen nation while dimming others; clicking again deselects. A color legend using `scaleOrdinal` with `schemeSpectral` allows filtering by income group. Data loads from world-atlas TSV and TopoJSON files, with SVG rendering supporting zoom interactions via D3's `zoom` event.

AI-generated description
MIT Licensed

Similar vizzes