The Dash Callback - Input, Output, State, and more

Опубликовано: 20 Июль 2026
на канале: Charming Data
65,215
1.3k

The Callback is the most important element in Dash. You need to know it so you can create interactive dashboard apps. In this tutorial I'll show you how to use the callback to connect between the various components of your app, such as the dropdown, the graph, and the pie chart.

View my book - The Book of Dash:
https://www.amazon.com/Python-Dash-An...
https://github.com/DashBookProject/Pl...

Code:
https://github.com/Coding-with-Adam/D...

Data:
https://drive.google.com/file/d/1Nzzg...

Dash Documentation:
https://dash.plotly.com/basic-callbacks

Supporting Document:
https://drive.google.com/file/d/1iodF...

Video layout:
00:00 - What you will learn
02:37 - Start coding
04:29 - Single Input and Output
11:35 - State, PreventUpdate
17:03 - Multiple Output and Input, Dash.no_update
22:49 - Callback facts you need to remember!

************************************************************************
👉 Your support keeps Charming Data running, which is proudly a 100% member-supported educational channel:
Patreon:   / charmingdata  
GitHub: https://github.com/sponsors/Coding-wi...
YouTube:    / @charmingdata