Interactive Growing Season (Jun-Sep) Drought Simulation Dashboard for Northwestern Nigeria. Computes MI-CDI, VCI, TCI, VHI, TVDI, SPI, SPEI indices across 186 LGAs using 2001-2023 seasonal baselines.
# Seasonal Drought Simulation Dashboard
An interactive web-based growing season (June–September) drought simulation tool for Northwestern Nigeria, covering 186 Local Government Areas (LGAs) across seven states: Sokoto, Zamfara, Katsina, Kano, Jigawa, Kaduna, and Kebbi.
## 🌐 Live Dashboard
**Launch the Seasonal Drought Simulator →**
## Overview
This dashboard enables real-time **what-if analysis** of drought conditions using five input parameters:
| Parameter | Symbol | Source |
|-----------|--------|--------|
| Precipitation | P (mm) | CHIRPS Daily |
| Land Surface Temperature | LST (K) | MODIS MOD11A2 |
| Vegetation Index | NDVI | MODIS MOD13A3 |
| Potential Evapotranspiration | PET (mm) | TerraClimate |
| Palmer Drought Severity Index | PDSI | TerraClimate |
## Computed Indices
The simulator calculates **9 drought indices** per LGA:
| Index | Formula | Range |
|-------|---------|-------|
| VCI | 100 × (NDVI − min) / (max − min) | 0–100 |
| TCI | 100 × (max − LST) / (max − min) | 0–100 |
| VHI | 0.5 × VCI + 0.5 × TCI | 0–100 |
| TVDI | (LST − min) / (max − min) | 0–1 |
| SPI | (P − mean) / std | Unbounded |
| SPEI | (D − mean) / std, D = P − PET | Unbounded |
| ADI | (d_VHI + d_TVDI) / 2 | 0–1 |
| MDI | (d_SPI + d_SPEI + d_PDSI) / 3 | 0–1 |
| **MI-CDI** | **(ADI + MDI) / 2** | **0–1** |
## Features
- 🗺️ Interactive Leaflet.js choropleth map with dynamic color scaling
- 📊 Real-time computation of all indices on parameter change
- 🏛️ State boundary overlays with dashed LGA boundaries
- 🔍 Click-to-zoom on Highest/Lowest MI-CDI cards
- 📥 CSV download of simulation results
- 🌍 "All States" view for region-wide analysis
## Baseline Period
Historical baselines are derived from **23 years** of Google Earth Engine data (2001–2023), filtered exclusively to the **June 1 – September 30** growing season window. Baseline statistics (min, max, mean, std) are computed per LGA per parameter.
## Technology Stack
- **Frontend**: HTML5, CSS3, Vanilla JavaScript
- **Mapp …