Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Map with Selectable Countries

Public visualization

Viewing a saved revision (read-only)

aae985c46bec4786bd2fba76df77952b

Map with Selectable Countries

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

This map visualizes world countries colored by economic classification using a categorical color scale. Clicking a country highlights it while dimming all others, and clicking again deselects it. The map uses d3.geoNaturalEarth1 projection with d3.geoPath to render SVG paths from TopoJSON world-atlas data, while d3.zoom enables panning and zooming. A color legend with clickable swatches filters the map, and the visualization updates reactively through D3 data joins.

AI-generated description