Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth Map

Public visualization

Viewing a saved revision (read-only)

0bdb521ccac3453ea7a1350e9dd8eed5

Choropleth Map

0 stars1🌍 Public
RRupal Gupta
Last edited Sep 26, 2019
Created on Sep 26, 2019
Forked from Choropleth Map

This choropleth map colors countries by their income group using a categorical color scale based on d3.scaleOrdinal and d3.schemeSpectral. It renders geographic boundaries with d3.geoPath and a natural Earth projection, loading TopoJSON and TSV data from the world-atlas package. The visualization includes an interactive color legend built with reusable D3 code, supports zooming via d3.zoom, and highlights countries on hover with a red fill.

AI-generated description