Skip to main content
100%

Fork of Choropleth Map

✓ Published0🌍 Public
LLera409
Last edited Mar 17, 2021
Created on Mar 17, 2021
Forked from Choropleth Map

This choropleth map visualizes countries colored by their economy type, using a spectral color scale and a legend with circles and labels. Built with D3 v5 and SVG, it loads geographic data from the world-atlas TopoJSON and TSV files, projecting it with `geoNaturalEarth1` and rendering paths via `geoPath`. Country hover effects and zooming are supported through D3’s zoom event, while the ordinal color mapping and custom legend are implemented with `scaleOrdinal`, `schemeSpectral`, and a dedicated `colorLegend` component.

AI-generated description
MIT Licensed

Similar vizzes