Skip to main content
100%

World Map

✓ Published1🌍 Public
LLakshmipriya-kalapala
Last edited Apr 11, 2023
Created on Apr 11, 2023
Forked from Choropleth Map

This interactive choropleth map displays GDP per capita (PPP, current international dollars) for 2020 across world countries, using a yellow-green-blue sequential color scale with missing data filled in green. The visualization fetches topojson country outlines and a CSV dataset, then renders them using d3.geoNaturalEarth1 projection and d3.geoPath. Color encoding relies on d3.scaleQuantile with d3.schemeYlGnBu, while country boundaries are joined via d3.selectAll and Promise.all handles asynchronous data loading. The map also draws graticule lines and an outline for geographic context.

AI-generated description
MIT Licensed

Similar vizzes