Black Lives Matter. Please consider donating to Black Girls Code today.

Interactivity between dependent dropdowns

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 (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