Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Map with Selectable Countries

Public visualization

Viewing a saved revision (read-only)

b81b76304ec646609963afea59874fb8

Map with Selectable Countries

0 stars0🌍 Public
Llynz09
Last edited Oct 22, 2020
Created on Oct 22, 2020
Forked from Hello VizHub

This interactive map displays global economic classifications by country using a color-coded ordinal scale. Clicking a country highlights it, dims all others, and clicking the same country again deselects it; the color legend also supports filtering by category. The visualization uses d3.geoNaturalEarth1 and d3.geoPath to render World Atlas TopoJSON data as SVG paths, with d3.zoom enabling pan and zoom. Color and selection states are managed through d3.scaleOrdinal and schemeSpectral, while click events drive the selection logic.

AI-generated description