End-to-end data analysis of Nigeria's education crisis using 65 years of World Bank data | DIG Framework | Python | Chart.js
# Nigeria Education Crisis — Data Analysis Portfolio
**Author:** Oyinlola Kayode
**Framework:** DIG (Describe · Introspect · Goal)
**Dataset:** World Bank Education Indicators for Nigeria (via HDX)
**Tools:** Python · Chart.js · Claude AI (Anthropic)
---
## Project Overview
This project investigates Nigeria's education system using 65 years of World Bank data (1960–2025), covering 9,722 records and 449 education indicators. It follows the **DIG Framework** to systematically profile, interrogate, and derive insights from the dataset.
**Master Research Question:**
*"How has Nigeria's declining investment in education shaped who gets left behind — and is there any hope for the future?"*
---
## Four Stories from the Data
| # | Story | Key Finding |
|---|-------|-------------|
| 1 | The Spending Collapse | Nigeria cut education spending by **90% in 50 years** — from 3.21% to 0.32% of GDP |
| 2 | 9M Children Left Behind | **9.07 million children** are still out of school; girls make up 51.6% of them |
| 3 | The Gender Literacy Reversal | Female youth literacy **overtook male** (81.43% vs 81.31%) for the first time in 2024 |
| 4 | Connecting the Dots | Despite the spending collapse, literacy improved — NGOs and private schools are filling a **$17.6B annual gap** |
---
## Files in This Repository
```
nigeria_education_portfolio/
│
├── index.html ← Full interactive portfolio (open in browser)
├── analyze.py ← Python script to replicate the full analysis
├── README.md ← This file
└── output/ ← Generated by analyze.py
├── 01_description_summary.txt
├── 02_spending_trend.png
├── 03_country_comparison.png
├── 04_pupil_teacher_ratio.png
├── 05_oos_trend.png
├── 06_female_oos_share.png
├── 07_gender_literacy.png
├── 08_spending_vs_literacy.png
└── 09_key_findings_summary.csv
```
---
## How to View the Portfolio
Simply open `index.html` in any modern web browser (Chrome, Firefox, Edge, Safari).
No server or internet connection r …