# Unraveling Africa's Sovereign Debt Crisis
Data-driven dashboard for analyzing fiscal stability and debt sustainability across African countries.
## Overview
This project analyzes fiscal and economic data from 14 African countries to identify drivers of budget deficits, forecast future fiscal positions, and provide evidence-based policy recommendations aligned with Sustainable Development Goals (SDGs).
## Features
- **Interactive Dashboard**: Real-time fiscal monitoring with Streamlit
- **Predictive Analytics**: 3-year forecasts using linear regression models
- **SDG Impact Analysis**: Connection between fiscal policies and development outcomes
- **Risk Assessment**: Identification of high-risk countries with worsening trends
- **Policy Recommendations**: Evidence-based interventions prioritized by impact
## Dataset
- **23,713 records** across 14 countries
- **24 indicators** including budget deficits, GDP, inflation, debt, and more
- **Time range**: 1960-2025
- **9 countries** with complete budget deficit data for modeling
## Key Findings
1. **100% of analyzed countries** have persistent budget deficits
2. **Expenditure** is the strongest driver of deficits (correlation: -0.946)
3. **Government Debt** shows strong negative correlation (-0.905)
4. **GDP growth and fiscal balance** have weak correlation (0.076) - growth alone doesn't fix deficits
5. **Nigeria, Egypt, Ethiopia** identified as high-risk countries
## Installation
```bash
pip install -r requirements.txt
```
## Usage
Run the Streamlit dashboard:
```bash
streamlit run app.py
```
The dashboard includes:
- Overview of fiscal metrics
- SDG impact analysis
- Analysis & insights with key drivers
- 3-year predictions
- Policy recommendations
- Interactive forecast tool
## Project Structure
```
.
├── app.py # Main Streamlit dashboard
├── data_loader.py # Data processing and analysis functions
├── requirements.txt # Python dependencies
├── presentation.html # Pr …