Africa Disaster Events Analysis Dashboard
# π Africa Disaster Events Analysis Dashboard
An interactive Streamlit dashboard for comprehensive exploratory data analysis of Africa disaster events.
## π Project Description
This dashboard provides a comprehensive analysis of historical disaster events across Africa, including:
- Temporal patterns and trends
- Geographic distribution across African countries and regions
- Disaster type analysis
- Human and economic impact assessment
- Advanced statistical analytics
## β¨ Features
- **π Overview**: Dataset summary and basic statistics
- **π Data Quality**: Missing values analysis and data completeness
- **π Temporal Analysis**: Time-series trends and seasonal patterns
- **π Geographic Analysis**: Continental and country-level distribution
- **π₯ Disaster Types**: Categorization and frequency analysis
- **π Impact Analysis**: Deaths, injuries, affected population, and economic damages
- **π Advanced Analytics**: Correlation analysis and custom filtering
- **π₯ Data Export**: Download full or filtered datasets
## π Installation
### Prerequisites
- Python 3.8 or higher
- pip package manager
### Setup
1. **Clone or download this project**
```bash
cd "Graduation project"
```
2. **Install required packages**
```bash
pip install -r requirements.txt
```
3. **Ensure data file exists**
Make sure `Book1.csv` is in the same directory as `app.py`
## π» Usage
### Run Locally
```bash
streamlit run app.py
```
The app will automatically load the `Book1.csv` file and open in your default browser at `
localhost`
### Alternative: Using PowerShell
```powershell
python -m streamlit run app.py
```
## π Data Requirements
The dashboard expects a CSV file named `Book1.csv` with the following columns (minimum):
- Year
- Country
- Continent
- Disaster Type
- Disaster Subtype
- Total Deaths
- No Injured
- No Affected
- Total Damages ('000 US$)
- Start Year
- Start Month
## π Deployment
### Deploy to Streamlit Cloud
1. **Push to GitHub**
```bash
git init
git β¦