# 🌍 Air-Pollution-Comparison-Across-Six-African-Capitals
## 📊 Satellite-Derived NO₂ Analysis (2019–2024)
This project presents an interactive environmental dashboard comparing atmospheric nitrogen dioxide (NO₂) levels across six major African capitals:
* Cairo 🇪🇬
* Johannesburg 🇿🇦
* Lagos 🇳🇬
* Addis Ababa 🇪🇹
* Nairobi 🇰🇪
* Mogadishu 🇸🇴
The analysis uses satellite-derived tropospheric NO₂ data from 2019 to 2024 to evaluate long-term pollution levels and trend dynamics.
---
## 🎯 Project Goals
* Compare average NO₂ concentrations across capitals
* Identify pollution trends (increasing or decreasing)
* Visualize structural differences in urban emission intensity
* Deliver a fully interactive, server-free dashboard
---
## 🛰 Data Source
* **Satellite**: Sentinel-5P (TROPOMI)
* **Measurement**: Tropospheric NO₂ Column Density
* **Processing Platform**: Google Earth Engine
* **Study Period**: 2019–2024
* **Spatial Scope**: 20 km buffer around each capital
---
## 📈 Methodology
1. Extracted annual mean NO₂ values per capital using Google Earth Engine
2. Calculated:
* 6-year average concentration
* Linear regression slope for trend analysis
3. Built interactive visualizations using Plotly
Trend model:
NO₂ = α + β × Year
Where:
* β > 0 → Increasing pollution
* β < 0 → Decreasing pollution
---
## 🔎 Key Findings
* **Cairo** recorded the highest average NO₂ concentration and the strongest upward trend.
* **Johannesburg** maintains high levels but shows a declining trajectory.
* **Mogadishu** exhibits the lowest overall NO₂ concentrations.
* Significant variation suggests structural differences in urban scale, transport density, and industrial intensity across capitals.
---
## 🖥 Dashboard Features
* Executive Summary
* KPI Cards (Highest, Lowest, Fastest Increase)
* Ranking Bar Chart
* Level vs Trend Scatter Analysis
* Multi-Year Time Series
* Multi-Theme Support:
* Light
* Dark
* Ocean
* Forest
* Downloadable Original Dataset
* Fully Responsive (Mobile + D …