Dash: An easy-to-use framework for building web applications and dashboards
Date: April 19, 2023
Dash is a low-code Python framework for creating web-based applications and visualization dashboards. This workshop introduces the framework for CS educators who would like to incorporate it in CS1 or CS2.
This workshop on Dash was presented at the CCSC: Central Plains 2023 conference. Dash is an accessible framework for building web applications and data dashboards that can be introduced early in the CS curriculum. The workshop starts by showing how to set it up in a GitHub Codespace (to make sure it works the same for all students) and build basic interface, using buttons, inputs, dropdown menus, etc. Here’s an example using movie sales data to display a movie’s information after being selected in from a dropdown menu.
Then in part 2, we see how to use it with Plotly graphs to create dynamic visualization dashboards. We can use the same data above to create a bar graph.
Or even create maps using a WHO life expectancy data set.
Materials
- Dash Workshop Part 1
- Dash Workshop Part 2
- Movie data: CSV, JSON
- Life expectancy data: CSV, JSON