Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Choropleth Map

Public visualization

Viewing a saved revision (read-only)

4587668bccbf407cbb136495666f7bdf

Fork of Choropleth Map

0 stars0🌍 Public
NNelson Kalgushkin
Last edited Mar 30, 2024
Created on Mar 30, 2024
Forked from Choropleth Map

This choropleth map visualizes World Bank GDP per capita (PPP, current international $) for 2020 by country, using a quantile color scale from the YlGnBu ColorBrewer scheme. Countries lacking data are filled in gray. The map renders with d3.geoPath, d3.geoNaturalEarth1, and d3.geoGraticule, while d3.scaleQuantile and d3.schemeYlGnBu map GDP values to colors. Data is loaded from a CSV file via Promise.all and fetched from a GitHub Gist and a world atlas TopoJSON source.

AI-generated description
MIT Licensed