Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

erickNjuki/-Kenya-Energy-Sector-GHG-CTF-Projections

Domain:

environment and energyclimate

Record type:

softwareproject
Creator:
eri
Host:
Kenya Energy Sector GHG CTF Projections # Kenya Energy Sector GHG Projections Dashboard An interactive Streamlit dashboard visualizing CTF-aligned GHG emission projections for Kenya's energy sector, based on Table 4(a) I/II/III (With Measures, With Additional Measures, Without Measures scenarios). > ⚠️ **Illustrative example only.** This is a worked demonstration, not Kenya's official government-submitted CTF projections table. ## Features - **KPI summary cards** — 2040 total emissions vs. 2023 baseline, with % change, per scenario - **Trajectory chart** — total energy-sector emissions (2023–2040) across all three scenarios - **Category breakdown** — stacked bars by source category (Power Industries, Manufacturing, Other sectors, Fugitive emissions), toggleable per scenario - **Scenario comparison** — side-by-side bar chart at any selected year via slider - **Raw data tables** — expandable view of the underlying figures ## Data Values are drawn from `Kenya_CTF_Projections_Table.xlsx`, tables: - `4a_I_WithMeasures` — With Measures (WM) - `4a_II_WithAddlMeasures` — With Additional Measures (WAM) - `4a_III_WithoutMeasures` — Without Measures (WOM) / baseline Units: kt CO₂ eq (energy-sector CO2 emissions from fuel combustion and fugitive emissions). Note: Category **1.A.3 Transport** is marked `NE` (not estimated) in the source data and is excluded from all totals and charts. ## Requirements - Python 3.9+ - Packages listed in `requirements.txt`: - `streamlit` - `pandas` - `plotly` ## Setup ```bash # 1. (Optional but recommended) create a virtual environment python -m venv venv venv\Scripts\activate # Windows source venv/bin/activate # macOS/Linux # 2. Install dependencies pip install -r requirements.txt ``` ## Running the app ```bash streamlit run kenya_ctf_app.py ``` or, if `streamlit` isn't on your PATH: ```bash py -m streamlit run kenya_ctf_app.py ``` Streamlit will open the dashboard in your browser automatically (usually at `localhost`). ## Project structure ``` …

Visit

github.com