Energy Explorer is an interactive data analysis dashboard for exploring global energy consumption, electricity generation, and emissions data from Our World in Data.
The application focuses on time-series analysis and helps users understand trends, temporal dependencies, and the statistical structure of energy-related indicators across countries.
This project was built to:
- Explore long-term developments in global energy and emissions data
- Compare time series across countries and metrics
- Analyze temporal dependencies using ACF (Autocorrelation Function) and
PACF (Partial Autocorrelation Function) - Assess time-series suitability for modeling approaches (e.g. ARIMA)
- Demonstrate a clean, reproducible, portfolio-ready data application
-
Interactive selection
- Country (or global aggregation)
- Time range
- Energy / emissions metric
-
Four analytical panels
- Time series visualization
- Autocorrelation (ACF)
- Rolling standard deviation vs. rolling mean (stationarity diagnostics)
- Partial autocorrelation (PACF)
-
Automatic metadata handling
- Units and descriptions loaded from the OWID codebook
- Dynamic axis labeling based on the selected metric
| Component | Technology |
|---|---|
| Data source | Our World in Data (CSV) |
| Storage & queries | DuckDB |
| Backend logic | Python |
| Visualization | Streamlit + Plotly |
| Statistics | NumPy, statsmodels |
| Deployment | Streamlit Community Cloud |
├── energy_app.py # Main Streamlit application
├── data/ # Local data (ignored in Git)
├── requirements.txt # Python dependencies
├── README.md # Project documentation
└── .gitignore
git clone https://github.com//energy-explorer.git cd energy-explorer
python -m venv .venv source .venv/bin/activate # macOS / Linux
pip install -r requirements.txt
streamlit run energy_app.py
Our World in Data – Energy Dataset https://github.com/owid/energy-data The data is downloaded automatically on first run and stored locally. Metadata (units and descriptions) are read from the official OWID codebook.
This project is released under the MIT License.
Axel Behrendt
Data analysis · Time-series · Scientific Python
Parts of the development as well as the debugging were supported by ChatGPT 5.2.
