Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Map with Selectable Countries

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed