Announcing Dash Bio 1.0.0 🎉 : a one-stop-shop for bioinformatics and drug development visualizations.

Interactivity between dependent dropdowns

Hi!
I’m trying to use two dropdowns as a filter to my plotly graphs on Dash. How can I accomplish that the first dropdown (“Region”) changes the options in the second dropdown (“City”)?

Another topic: Is it possible to create a html.DataTable that changes when I use the dropdown filters? how?

Thank you in advance for your help!

I recommend taking a look through Part 3. Basic Callbacks | Dash for Python Documentation | Plotly (and the rest of the tutorials!) - The last example in that tutorial has an example where the countries radio items update the cities radio items.

Here’s an example: Display tables in Dash - #12 by chriddyp