Skip to main content
100%

Choropleth Map with Interactive Practice

✓ Published1🌍 Public
Ccpsshan
Last edited Jul 16, 2019
Created on Jul 16, 2019
Forked from Choropleth Map

This visualization presents a world choropleth map coloring countries by economic classification using a spectral color scale, with an interactive legend that filters highlighted countries on click. Built with D3 v5, it employs `d3.geoNaturalEarth1` for projection, `d3.geoPath` for rendering, and `d3.zoom` for panning and zooming. Country data comes from the World Atlas TopoJSON and TSV files, while the legend uses `d3.scaleOrdinal` and `d3.schemeSpectral`. Hovering over a country turns it red, and the legend’s clickable ticks dim non-selected categories.

AI-generated description
MIT Licensed

Similar vizzes