Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Map with Selectable Countries

Public visualization

Viewing a saved revision (read-only)

e42b3f76d6f44a349a3105a8947ed890

Map with Selectable Countries

0 stars0🌍 Public
Ccaydener
Last edited Sep 21, 2019
Created on Sep 21, 2019

This example shows a choropleth map of world countries colored by economic grouping, with interactive selection: clicking a country dims all others and highlights the chosen region, and clicking again clears the selection. A color legend filters the map to a single category. The visualization uses D3 v5 with `geoNaturalEarth1` projection and `geoPath` for rendering SVG paths, plus `zoom` for panning. Data comes from TopoJSON and TSV files via the world-atlas package, with colors assigned by `scaleOrdinal`.

AI-generated description