/dash-os-workshop

Primary LanguagePythonMIT LicenseMIT

Dash 101: Learn how to Build Interactive Data Apps with Plotly Dash

About this workshop

In this workshop, you'll learn the basics of creating an interactive data application using the open-source Dash framework. More specifically, this workshop will introduce you to the concepts of:

  • Initializing and running a Dash application
  • Defining an application layout
  • Writing callback functions to make your application interactive
  • Basic application styling using CSS and open-source libraries like Dash Bootstrap Components and Dash Mantine Components

Downloading the files ahead of time isn't required, but may be helpful for following along.

How to run these applications

To run these applications, clone the repository and then open a terminal to the app folder.

Create and activate a new virtual environment (recommended) by running the following:

On Windows:

python -m venv myvenv
\myvenv\Scripts\activate.bat
# OR
\myvenv\Scripts\Activate.ps1

On Linux:

python3 -m venv myvenv
source myvenv/bin/activate

Install the requirements:

pip install -r requirements.txt

Run the app:

python <app_name>

You can run the app on your browser at http://127.0.0.1:8050

Resources

To learn more about Dash, please visit Plotly's documentation site.