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
Iip01
Last edited Dec 8, 2019
Created on Dec 8, 2019

This map displays the world’s countries colored by their economy classification, using an ordinal color scale and a natural Earth projection. Users can click any country to highlight it while dimming all others; clicking again deselects it. A separate, clickable color legend filters the map to show only countries within a selected economy group. Built with D3 v5, it uses `geoPath`, `geoNaturalEarth1`, and `scaleOrdinal` with `schemeSpectral`, and renders as SVG paths. Country data originates from the world-atlas TopoJSON and TSV files.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed