Skip to main content
100%

Design

✓ Published0🌍 Public
NNilla
Last edited Apr 14, 2019
Created on Apr 14, 2019

A choropleth map colors countries by economy using an ordinal color scale from d3.scaleOrdinal and schemeSpectral, with a clickable color legend to highlight selected regions. The visualization loads world country boundaries from TopoJSON and metadata from TSV, processing them via topojson.feature and Promise.all. The SVG rendering uses d3.select, choroplethMap, and colorLegend custom functions, with hover and selection styling from CSS. Interactions update the map by re-rendering based on clicked legend values.

AI-generated description
MIT Licensed

Similar vizzes