Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth Map

Public visualization

Viewing a saved revision (read-only)

cdfcc5ec2b6648e6a300e86934cc1eeb

Choropleth Map

0 stars0🌍 Public
MmeuequalsD
Last edited Feb 28, 2020
Created on Feb 28, 2020
Forked from Choropleth Map

This choropleth map colors countries by their economy type, using a spectral color scale to distinguish categories. Built with D3 v5, it loads world country geometries from the world-atlas TopoJSON dataset and joins them with tab-separated metadata from the same source. The map uses a natural Earth projection and renders as SVG paths, with a color legend generated via a custom `colorLegend` function. Each country path includes a tooltip showing its name and economy value, while hovering highlights the country in red.

AI-generated description