Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of Choropleth Map

Public visualization

Fork of Choropleth Map

0 stars0๐ŸŒ Public
Fferneyhoughedward@gmail.com
Last edited Apr 10, 2023
Created on Apr 10, 2023
Forked from Choropleth Map

This choropleth map visualizes World Bank GDP per capita (PPP) data for 2020, assigning colors to countries based on their economic output. The map renders d3.geoPath shapes with a natural Earth projection and a YlGnBu color scheme, using a d3.scaleQuantile scale to bin the data into nine quantile-based classes. Countries missing data appear gray. The visualization fetches both a world atlas TopoJSON file and a CSV dataset via Promise.all, parsing the latter after skipping an initial header offset.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed