Skip to content

Workshop to integrate Dash dashboards in existing Flask applications.

Notifications You must be signed in to change notification settings

januusingh/dash-in-flask-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Dash-in-Flask Workshop

Purpose

Dash is an open-source framework for building analytical applications, with no Javascript required, and it is tightly integrated with the Plotly graphing library (example). We can use Dash to create detailed data-visualizations to generate insight into large datasets in Python and display it in an existing Flask application which may server other purposes in a website.

Flask is a very popular backend framework for web applications. We will use Flask to handle all the incoming requests from our clients and serve them the necessary HTML content, including the Dash dashboard that you create. This will allow you to create multiple custom dashboards and/or visualizations in your web server.

This workshop was inspired and adapted by concepts and methods introduced in other public tutorials [1, 2].

Setup

Follow the steps to get your environments set up for this workshop:

  1. Download Anaconda for Python and create a new virtual enviornment called dashapp by running the following command: conda create --name dashapp.
  2. Activate your virtual environment by running conda activate dashapp in your terminal.
  3. Download Flask: pip install Flask
  4. Download Dash: pip install dash
  5. Download Pandas: pip install pandas

Tools and Resources

  1. Pandas (data manipulation)
  2. Plotly Express (building custom visualizations)
  3. Dash (displaying visualizations on a custom Dashboard)
  4. Flask (building web applications for any use or purpose)
  5. Jupyter (visualization for fun to explore)
  6. Stackoverflow (general questions)

About

Workshop to integrate Dash dashboards in existing Flask applications.

Topics

Resources

Stars

Watchers

Forks

Packages