Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Choropleth Map

Public visualization

Viewing a saved revision (read-only)

d981db3ce5fd441ea92f52fcb1d98cb7

Fork of Choropleth Map

0 stars0🌍 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