Build interactive Python dashboards with Plotly and Dash
8 steps · about 2 h 35 min · Intermediate
- Create declarative figures with Plotly Express (tutorial, Plotly, 20 min)
Builds clean scatter, bar and line charts from tidy DataFrames in a few lines of Python.
- Customize tooltips and hover templates (guide, Plotly, 15 min)
Ensures interactive hover labels show units and formatted numbers rather than raw column names.
- Run a minimal Dash server and layout (tutorial, Plotly Dash, 15 min)
Introduces the Flask-backed app object, component tree and local hot-reload workflow.
- Add dropdowns, sliders and date pickers (guide, Plotly Dash, 20 min)
Covers the standard interactive controls users use to slice and filter displayed metrics.
- Connect inputs to outputs with @callback (guide, Plotly Dash, 25 min)
Explains Dash's reactive dependency graph and how component properties trigger updates.
- Cross-filter charts from click and selection events (tutorial, Plotly Dash, 25 min)
Uses clickData and selectedData so selecting points in one chart updates downstream views.
- Cache filtered data cleanly with dcc.Store (guide, Plotly Dash, 20 min)
Prevents global-variable race conditions across concurrent users by keeping state browser-scoped.
- Serve Dash behind Gunicorn for production (guide, Plotly Dash, 15 min)
Covers exposing the underlying WSGI server and disabling debug mode before deployment.