🌍 Public
Viewing a saved revision (read-only)
2d4ca4050222494a83e0a92e072a6a56
Choroplath Map
This choropleth map colors countries by their economy type, using a natural Earth projection and a spectral color scale. The visualization supports zooming and panning, with hover highlighting and tooltips showing country names. Built with D3 v5, it uses `geoNaturalEarth1`, `geoPath`, and `zoom`, while loading TopoJSON world data joined with TSV metadata. A custom color legend displays ordinal categories, and the code leverages `scaleOrdinal` and `schemeSpectral` for color mapping.
AI-generated description