On 28 February 2026, US and Israeli forces conducted strikes on Iranian military infrastructure. In response, Iran closed the Strait of Hormuz β the world's most critical oil chokepoint β disrupting approximately 20% of global oil supply.
Within days, Brent crude surged from ~$77 to over $104/barrel, sending shockwaves through fuel prices across 14 countries and threatening the stability of global maritime trade.
This project investigates three interconnected research questions using data science, machine learning and geopolitical analysis:
| # | Research Question | Approach |
|---|---|---|
| 1 | π’οΈ How severe was the oil price shock? | Time series analysis of daily Brent & WTI prices |
| 2 | π Which countries were hit hardest? | Country-level vulnerability & economic impact analysis |
| 3 | π’ What does this mean for global sea trade? | Historical correlation + 3-scenario forecasting |
| Finding | Result |
|---|---|
| Brent crude price surge | +35.4% ($76.97 β $104.25/barrel) |
| Strait of Hormuz status | Closed/Restricted for 6 of 16 tracked trading days |
| Hardest hit country (fuel) | Pakistan (+20.7% retail price increase) |
| Worst GDP contraction | Iran (-8.0%) β despite being an oil producer |
| Highest maritime risk | South Korea (57.5/100) and China (54.4/100) |
| ML model accuracy | 88.9% (Gradient Boosting, StratifiedKFold CV) |
| Key ML insight | GDP impact (81.1%) dominates vulnerability β not oil import dependency |
| Base case trade forecast | -5.5% global sea trade volume decline in 2026 |
Strait-of-Hormuz-Crisis-2026/
β
βββ π Global_Oil_Maritime_Trade_Analysis.ipynb β Main notebook
βββ π README.md β This file
βββ π key_findings/ β All chart outputs
βββ chart_01_oil_price_shock.png
βββ chart_02_country_impact.png
βββ chart_03_war_timeline.png
βββ chart_04_sea_trade_patterns.png
βββ chart_05_correlation.png
βββ chart_06_risk_scores.png
βββ chart_07_forecast.png
βββ chart_08_model.png
βββ chart_09_intelligence_report.png
βββ chart_10_key_findings.png
βββ chart_11_conclusions.png
| Dataset | Source | Coverage |
|---|---|---|
| Global Petrol Prices β US-Iran War 2026 | Kaggle (zkskhurram) | 14 countries, FebβMar 2026 |
| Volume of Goods Transported by Sea | Kaggle (fareselgohary003) | 210 countries, 2000β2022 |
Languages & Environment
Data & Analysis
Machine Learning
Visualisation
| Phase | Description |
|---|---|
| π§ Phase 0 | Setup & Configuration |
| π¦ Phase 1 | Data Loading & Validation |
| π Phase 2 | Exploratory Data Analysis (4 sub-sections) |
| π Phase 3 | Combined Analysis & Risk Scoring |
| π€ Phase 4 | Forecasting & ML Modelling |
| π Phase 5 | Final Intelligence Report |
| π‘ Phase 6 | Conclusions & Insights |
| Model | CV Accuracy | Notes |
|---|---|---|
| Gradient Boosting | 88.9% β | Selected as best model |
| Random Forest | 70.0% | Strong but lower CV score |
| Logistic Regression | Baseline | Lower performance |
This project is produced for educational and portfolio purposes only.
It does not constitute financial, investment, or geopolitical advice.
All data sourced from publicly available datasets on Kaggle and the World Bank.
Lindiwe Songelwa Data Scientist Β· Developer Β· Insight Creator π Gauteng, South Africa πΏπ¦
| Platform | Link |
|---|---|
| πΌ LinkedIn | linkedin.com/in/lindiwe-songelwa |
| π GitHub | github.com/Lindiwe-22 |
| π Credly | credly.com/users/samnkelisiwe-lindiwe-songelwa |
| π Kaggle | kaggle.com/lindiwe22 |
Β© 2026 Lindiwe Songelwa Β· All rights reserved
Reproduction or redistribution without written permission is prohibited.










