Skip to main content
100%

Choropleth Map

✓ Published0🌍 Public
RRenato Francia Castillo
Last edited Nov 7, 2018
Created on Nov 7, 2018
Forked from Choropleth Map

This choropleth map colors countries by economic group, drawing from world-atlas TopoJSON and TSV data joined by country ID. The visualization renders the map with D3’s `geoNaturalEarth1` projection and `geoPath` generator, while an ordinal color scale from `schemeSpectral` assigns shades to each group. A custom color legend displays every category with circles and labels, and users can zoom and pan via D3’s `zoom` event, which updates the group’s transform. Hovering a country highlights it in red and shows its name and economy in a tooltip.

AI-generated description
MIT Licensed

Similar vizzes