Lab 01 — LATAM choropleth (Leaflet + indicators)
Interactive map of Latin America & the Caribbean: development indicators by country, filters and a choropleth layer with World Bank open data.
- Objective
- Offer a quick territorial reading of economic, social and service-access indicators across LATAM, using the World Bank API to evidence the ability to use and connect open data, web cartography and transparent methodological narrative.
- Methodology
- 1) Load LATAM country polygons from a static GeoJSON (simplified Natural Earth) hosted on the site. 2) The visitor picks indicator and year in the filter panel. 3) The client queries the World Bank Indicators API v2 with regional ISO3 codes, indicator and year. 4) Each response is joined to the matching polygon (ISO3 key → numeric value). 5) Leaflet paints the choropleth with a colour scale; missing values stay grey. 6) Hover shows the value; legend and source citation appear below the map.
- Limitations
- Values are annual and may be missing for some countries or years. The GeoJSON is schematic (not disputed official borders). Latency depends on the external API; missing values render grey. This is not a substitute for an official statistical atlas.
Sources & APIs
- World Bank Indicators API v2
Country series (e.g. COL); no API key. Good first dashboard.
Docs