This workshop is designed to introduce how to create dashboards using Dash. The dashboard tracks common stock metrics retrieved from the unofficial Yahoo Finance wrapper API, yahooquery.
Due to limitations of the official jupyter-dash library, which allows us to run Dash app within the notebook itself, this workshop will implement the Dash app in an unconvential way. We will use Jupyter Notebook to work on the files and write the files to a python file.
For both versions, you will need to download a version of Python < 3.10.
It is ideal to run this with conda for easier installation.
- Install anaconda https://docs.anaconda.com/anaconda/install/windows/
- Open Anaconda Prompt from the Windows search bar and type the following commands
conda create --name Dash python=3.8
conda activate Dash
pip install -r requirements.txt
It is ideal to run this in a virtual environment. To do this, run the following commands.
pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
ipython kernel install --user --name=dash
Then to launch the notebook, run jupyter-lab
in the directory with the files.
- Dashboard.ipynb The fully completed version of the workshop notebook. Running this file will create the .py files needed to create the application
- HandsOn_Dashboard The uncompleted version of the workshop notebook. Code will be filled in during the workshop
Made for the Data Visualization Lab @ Georgia Tech.