# South Africa Environmental Sustainability Analysis (2000–2021)
**Sol Plaatje University Diploma in ICT**
**Module**: NDTA 631 Data Analysis and Visualization
**Assessment**: Group Assignment
**Lecturer / Examiner**: Melvin Kisten
**Due Date**: 24 August 2026
---
### Group Members
* Sisekelo Preach Masombuka
* Nosipho Portia Mbatha
* Luyanda Andiswa Khomo
* Nomcebo Nkosi
* Angela Khoso Makgabo
---
## Project Overview
This project analyzes the relationship between renewable electricity production (% of total output) and per capita CO2 emissions (metric tons per capita) in South Africa between 2000 and 2021.
Using World Bank Open Data and Our World in Data datasets, we analyze how South Africa's adoption of renewable energy aligns with changes in carbon emissions over a 22-year period.
---
## Project Structure
```text
Code/
├── South_Africa_Environmental_Sustainability_Analysis.ipynb <-- Master Analysis Notebook
├── README.md <-- Documentation
├── requirements.txt <-- Python Dependencies
├── build_notebook.py <-- Execution Script
│
├── data/ <-- Datasets
│ ├── OWID_CB_CO2_PER_CAPITA_WIDEF (1).csv (Raw CO2 Data)
│ ├── WB_WDI_EG_ELC_RNEW_ZS_WIDEF.csv (Raw Renewable Data)
│ ├── south_africa_co2_emissions_per_capita_clean_2000_2021.csv
│ ├── south_africa_renewable_electricity_clean_2000_2021.csv
│ ├── co2_and_renewable_electricity_combined_data.csv (Combined Clean Data)
│ └── export_high_renewable_years.csv (SQL Export)
│
├── visualisations/ <-- Generated Charts
│ ├── 1_co2_emissions_lineplot.png
│ ├── 2_renewable_electricity_barplot.png
│ ├── 3_correlation_scatterplot.png
│ ├── 4_dual_axis_timeline.png
│ ├── 5_distributions_boxplot.png
│ └── …