🌍 Public
Viewing a saved revision (read-only)
599a3da59522414eb79d46752f73dfd1
Choropleth Map with zoom,rotation and hover
This choropleth map visualizes World Bank GDP per capita data on a world atlas, using D3's `geoOrthographic` projection and `geoPath` to render countries color-coded with a quantile `schemeYlGnBu` scale. Users can rotate the globe by dragging, zoom with the mouse wheel, and hover over countries to see tooltips with the country name and GDP value. A color legend indicates low and high values, and the visualization responds to window resizing.
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