Fork of Choropleth Map
✓ Published0🌍 Public
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 descriptionA choropleth map of World Bank Dataset: GDP per capita, PPP (current international $).
See also:
- Wikipedia: List of countries by GDP (PPP)
- World Bank: GDP per capita, PPP (current international $)
- GitHub Gist: World Bank Dataset: GDP per capita, PPP (current international $)
- MDN: String.prototype.substring()
- MDN: Promise.all
- MDN: Map
- d3.scaleQuantile
- Wikipedia: Quantile
- d3-scale-chromatic
- ColorBrewer
MIT Licensed