Back to all projects

SHEET 02/15Geospatial· 2026

Dadaab Climate Risk Dashboard

Hazard and displacement dashboard for the Dadaab refugee complex in Garissa County, Kenya. Combines UNHCR population figures, NASA FIRMS fires, Open-Meteo rainfall and drought indicators, USGS earthquakes and OpenStreetMap facilities on one map.

Dadaab Climate Risk Dashboard screenshot

Overview

A browser-only web map that puts the people in the Dadaab camps next to the hazards around them, with per-source status, an attribute table, layer reordering and a simple composite risk index.

The problem

Information about hazards around Dadaab sits in separate places: fire detections in NASA FIRMS, rainfall in weather models, refugee figures with UNHCR, facilities in OpenStreetMap. I wanted one view that shows how exposed the camps are at a glance.

Constraints

  • No backend and no budget: everything had to come from free public APIs, fetched in the browser.
  • Sources update at very different rates (hourly weather, daily fires, annual population) and some are unreliable.
  • The data describes a vulnerable population, so the map must be honest about what is measured and what is indicative.

Key decisions

  1. 01

    Each source fails on its own

    Every API sits behind its own client with its own error state and a status dot in the header. A failing source empties one layer instead of breaking the page, and results are cached for the session so panning does not re-query.

  2. 02

    Fallbacks for flaky infrastructure

    Public Overpass servers frequently refuse or time out. The OSM layers try three instances with a timeout each and fall back to an extract bundled with the app, so health facilities and water points always render.

  3. 03

    Label what is indicative

    Drought and flood polygons are drawn as indicative outlines, and the composite risk index is a stated, simple weighting (drought 40%, fire 30%, proximity to camps 30%), presented as a visual summary rather than a model.

Outcome

  • Five live sources and three static layers in one map, usable on desktop and mobile.
  • A self-audit found the camp coordinates and every query bounding box about 1.6° too far north, near Wajir. Fixing it changed which fires, earthquakes and facilities appeared at all. I now check every layer against a known reference point before trusting a map.

What I'd do next

  • Replace the indicative drought outlines with current FEWS NET IPC data and CHIRPS rainfall anomalies.
  • Add IOM DTM displacement figures for the Kenya–Somalia border area.
  • Move fetching to a small FastAPI + PostGIS service on a schedule so the history of each indicator is kept.

Stack

SvelteKitSvelte 5MapLibre GL JSTypeScriptTailwind CSS v4NASA FIRMSUNHCR APIUSGS APIOverpass APIOpen-Meteo