Data analysis of Avian Influenza outbreaks in Nigeria using Python (pandas, matplotlib, seaborn).
# 🦠 Avian Influenza Outbreak Analysis in Nigeria
## 📌 Project Overview
This project analyzes avian influenza (bird flu) outbreak data across Nigeria to uncover **temporal and spatial patterns**. Using Python and data visualization, it explores **yearly, monthly, and seasonal trends** alongside **state-level comparisons**.
---
## ⚙️ Tools & Libraries
- Python 🐍
- pandas (data cleaning & wrangling)
- matplotlib & seaborn (visualization)
- geopandas (map visualization)
---
## 📂 Dataset
- Source: [FAO / OIE datasets]
- Key fields used:
- `Observation_date`
- `Country`
- `Year` (extracted)
- `Cases`
---
## 📊 Analysis Steps
1. **Data Cleaning**
- Converted dates into datetime format
- Extracted `Year` and `Month` for trend analysis
- Ensured proper data types for grouping
2. **Yearly Trend Analysis**
- Grouped outbreaks per year
- Plotted line & bar charts showing long-term trends
3. **Monthly/Seasonal Analysis**
- Aggregated cases by month across all years
- Visualized recurring seasonal patterns
- Heatmap of Year vs Month for outbreak seasonality
4. **Country-Level Distribution**
- Grouped by `Country` and `Year`
- Compared outbreak hotspots across Nigeria
---
## 🔑 Key Insights
- Outbreaks **peak during specific months**, confirming seasonal behavior.
- Some states are **recurrent hotspots**, reporting more frequent cases.
- Outbreak intensity varies significantly **year-to-year**, highlighting the need for **active monitoring**.
---
## Visualizations
- Yearly trends
- Monthly/seasonal distribution
- Heatmap (Year vs Month)
- Country-wise cases
---
## How to Run
1. Clone this repo:
```bash
git clone
github.com
Install dependencies:
pip install -r requirements.txt
Open the notebook:
jupyter notebook "Avian influenza analysis.ipynb"
👤 Author
Muhammad Abubakar
Connect with me on
linkedin.com