Skip to main content
100%

Fork of Choropleth Map

✓ Published0🌍 Public
VVictor
Last edited Feb 25, 2022
Created on Feb 19, 2022
Forked from Choropleth Map

This choropleth map visualizes world countries colored by their `mapcolor7` property, with an ordinal color scale using `d3.scaleOrdinal` and `d3.schemeSpectral`. It renders geographic boundaries via `d3.geoPath` and a `geoNaturalEarth1` projection, with data loaded from TopoJSON and TSV files using `d3.json` and `d3.tsv`. A custom `colorLegend` function builds an SVG legend with circles and labels, while `d3.zoom` enables interactive panning and zooming on the map.

AI-generated description
MIT Licensed

Similar vizzes