This documentation explains the final project source code.
Data processing was completed using python in jupyter notebook. The data processing environment can be setup with the following steps:
- Install Miniconda
- conda env create -f environment.yml
- source activate viz
/css
css source files
/data
GeoFRED_All-Transactions_House_Price_Index_by_State_Index_1980_Q1=100.xls - Sheet0.csv - raw house price data
GeoFRED_Unemployed__Job_Losers_by_State_Persons_4-Quarter_Moving_Average.xls - raw job loss data
prices_jobs.json - processed prices and jobs data
us.json - US state data
/js
javascript source files
data.ipynb - Notebook to create `prices_jobs.json` from source data
environment.yml - jupyter notebook dependencies for conda
index.html - webpage source code
README.md - this file
To open the Jupyter notebook, activate the Conda Virtual Environment and then open jupyter notebook with:
jupyter notebook
The housing price data site can be found at: https://bmweiner.github.io/jhudataviz
To run this source code locally, navigate to the src
directory and run:
python -m http.server
The site will be accessible at: http://localhost:8000