✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚾️ It's finally Baseball season! Root for the home team... & Register for our Sports Analytics Webinar!

Passing selections from dash_core_components to Callback to populate Graph

Hello everyone,

I am new to Dash, I have a bunch of dash_core_components that users can manipulate to filter data that I am extracting from the database (by pressing a button at the end). The question is, is there a way for a callback function to be able to extract all the selected parameters which I need to filter the Graph data accordingly ?

Thank you,


Hello, and thanks for writing in!

This looks like a job for State. State is how buttons work in Dash. The values are brought into the callback function, but changes in the values won’t trigger the callback. So, users can make all the changes they want in the core components, and then only submit a change when the button is clicked.


1 Like