Billionaires - Who are they?
Group project for ECE 143 created by:
- Andrina Hoffman
- Jerry Yan
- Aram Chemishkian
- Tung Hsiao
- Haoxuan Sun
environment.yml
: Conda environment file specifying dependencies.main.py
: Main script to run the project.notebooks/
: Contains Jupyter notebooks for exploratory data analysis and experimentation.src/
: Source code directory.data/
: Stores datasets used in the project.scripts/
: Contains scripts for data processing and analysis.visualizations/
: Scripts for generating various types of visualizations.
Our slide deck PDF is G7 Economic weight of billionaires.pdf
. Otherwise, you can find the Google Slides link here.
It is suggested to use Conda to set up the environment with the following command.
conda env create -f environment.yml
If there are any problems, here are the list of 3rd-party packages we use.
- matplotlib
- pandas
- numpy
- 652A cartopy
- geopandas
- requests
These can be installed in any Python 3.10 environment.
The main notebook used to generate plots is in plot-notebook.ipynb
. Select the correct Python kernel and run the whole notebook.
Otherwise, there is code that can be run to make some of the animated bar plots.
python main.py
Download data by removing comment on line 22 of main.py
to call fetch_and_save_data(year)
.
Data can be obtained from this Google Drive link. The data should be put into src/data
.