Fork of Choropleth Map
✓ Published0🌍 Public
This fork of a choropleth map visualizes World Bank GDP per capita (PPP, current international dollars) for 2020 across countries. The map uses a natural Earth projection with a graticule and country outlines, coloring each nation on a quantile-based YlGnBu color scale from d3.scaleQuantile and d3.schemeYlGnBu, with missing data rendered in gray. It loads country geometries via topojson-client from a 110m atlas, fetches the CSV dataset, and renders the choropleth using d3.geoPath from the d3 library.
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