Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Add dynamic filtering on embedded chart

I would like to understand if it’s possible to do something like this: I create a chart that grabs data from MySQL DB, and I don’t set any particular filter. Then when I embed it in my webapp, passing some kind of parameters I can refine data like adding filters or groups.
Basically it’s like creating a “master chart” that gets input parameters when embedded, in order to refine data. Of course input params should not change the structure of the dataset received by the chart, otherwise it will crash.
This would make the chart way way flexible, cause I can design the chart once, and then by my web app filter only certain data.