Exploratory analysis and interactive visualizations of GDP per capita (nominal USD) using the included World Bank's CSV dataset (gdp_pc_data.csv). This repository contains Jupyter notebooks and python scripts for static plotting and interactive Dash apps that let you explore GDP-per-capita trends.
This project contains a few jupyter notebooks that allow the user to explore interesting GDP per capita trends in an interesting and engaging way.
gdp_plots.ipynb: Static exploratory plots usingpandas,seabornandmatplotlib(time series comparisons between countries).gdp_graph_choice.ipynb: Interactive Dash app to plot GDP-per-capita time series for selected countries and year ranges (usesplotly.express,dash, anddash_bootstrap_components).gdp_maps.ipynb: Interactive Dash choropleth maps for 2024 GDP-per-capita (usesplotly.express,pycountry, and Dash components).gdp_pc_data.csv: Primary dataset used by the notebooks (included in this repository).assets/style.css: styling used by the notebooks or dashboards (if referenced).
- Clone the repository
git clone https://github.com/Sebastijan-Dominis/gdp_analysis- Create and activate a python virtual environment
- If using Anaconda:
conda create -n gdp_analysis python=3.14 -y
conda activate gdp_analysis- Install the requirements
pip install -r requirements.txt- Open and run the jupyter notebooks
gdp_plots.ipynb— run the cells to generate static visualizations.gdp_graph_choice.ipynb— run all cells to start the interactive Dash plotter.gdp_maps.ipynb— run all cells to start the interactive choropleth maps.
When the Dash apps are started from the notebooks you will typically see a local server URL printed in the notebook output (e.g.
http://127.0.0.1:8050) — open that URL in your browser to interact with the app.
- If you prefer to run the Dash apps as standalone Python scripts:
python gdp_graph_choice.pypython gdp_maps.py- You can use try the Dash apps directly, without cloning this repository here:
- GDP Graph Choice: https://gdp-analysis-2.onrender.com/
- GDP Maps: https://gdp-analysis.onrender.com/
- Note that loading the page may take a few minutes
- This repository includes a
LICENSEfile — please review it for terms of reuse.
- Improvements and bug fixes welcome. Open an issue or submit a pull request with a clear description of the change.
- Author: Sebastijan Dominis
- Contact: sebastijan.dominis99@gmail.com





