An interactive business-grade dashboard for analyzing and forecasting COβ emissions across African countries using Streamlit, pandas, and machine learning.
# π COβ Emissions Dashboard for Africa
This project is a dynamic and interactive **Streamlit-powered dashboard** that visualizes and forecasts **COβ emissions across African countries**. It provides actionable insights for **policy makers, entrepreneurs, researchers**, and **climate investors**.
Built with π‘ business users in mind, the dashboard highlights:
- Sector-wise emission breakdowns (transportation, energy, manufacturing, etc.)
- Time-series trends and forecasts (using linear regression)
- Country-specific heatmaps and GDP/population insights
- Clean, attractive visualizations for presentations and decision-making
---
## π Key Features
- π― **Interactive Sector Boxes** β Click on any emission sector to drill down into trends.
- π§ **Machine Learning Forecasts** β Predict emissions for the next 3 years using socioeconomic data.
- π **Bar Charts, Pie Charts & Line Graphs** β Beautifully styled visualizations powered by Matplotlib and Seaborn.
- π₯ **Correlation Heatmaps** β Understand relationships between COβ emissions and GDP/population.
- πͺ΄ **Actionable Recommendations** β Green energy, climate tech, and policy innovation opportunities.
- βοΈ **Live Dataset from Hugging Face** β Auto-loads updated CSV data from the cloud.
---
## π Live Demo
> Coming soon via Streamlit Cloud
---
## π¦ Tech Stack
- Streamlit β For rapid web app development
- Pandas β Data loading and manipulation
- Seaborn & Matplotlib β Visualizations
- Scikit-learn β Forecasting via Linear Regression
- Hugging Face Datasets β Cloud-hosted dataset
---
## π Dataset Source
The data is hosted on Hugging Face:
- `co2_Emission_Africa.csv`
Fields include:
- Country, Year, Population, GDP (USD and PPP)
- Emissions by sector (Transportation, Manufacturing, LUCF, etc.)
- Total emissions (with and without LUCF)
---
## π How to Run
1. Clone the repo:
```bash
git clone
github.com
cd co2-emissions-dashboard