Skip to main content
100%

Map with Selectable Countries

✓ Published0🌍 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
MIT Licensed

Similar vizzes