This is a demo of the Dash interactive Python framework developed by Plotly.
Dash abstracts away all of the technologies and protocols required to build an interactive web-based application and is a simple and effective way to bind a user interface around your Python code.
To learn more check out our documentation.
First create a virtual environment with conda or venv inside a temp folder, then activate it.
virtualenv venv
# Windows
venv\Scripts\activate
# Or Linux
source venv/bin/activate
Clone the git repo, then install the requirements with pip
git clone https://github.com/plotly/dash-sample-apps
cd dash-sample-apps/apps/dash-yield-curve
pip install -r requirements.txt
Run the app
python app.py
This Dash app adapts the excellent NY Times report A 3-D View of a Chart That Predicts The Economic Future: The Yield Curve.
- Dash - Main server and interactive components
- Plotly Python - Used to create the interactive plots
The following are screenshots for the app in this repo: