Skip to main content
100%

d3 Choropleth Map

✓ Published2🌍 Public
Aaslamluqman
Last edited Mar 25, 2019
Created on Mar 25, 2019
Forked from d3 Choropleth Map

This choropleth map colors countries by economic classification using a spectral color scale, with a legend showing the ordinal categories and hover effects highlighting individual countries. The map is rendered as an SVG using d3.geoPath with a geoNaturalEarth1 projection, while d3.zoom enables interactive panning and zooming. Data is loaded from the world-atlas TopoJSON and TSV files via topojson.feature, and the color legend is built custom with d3.scaleOrdinal and d3.schemeSpectral.

AI-generated description
MIT Licensed

Similar vizzes