How to build a dependency dropdown with either dcc or dbc

My goal is to build a dependency dropdown. Something like this.

first dropdown → occupancies, activities.
second dropdown → number 1-10
thrid dropdown → “walking”,“running”,etc

Is it doable just to show the first dropdown and show either the second or third dropdown based on the user’s input (occupancies or activities)?

@justinwoo97 you can probably do that with chained callbacks. See the chained callback section here.

Thanks for the help. I figured it out !!

Really like your youtube videos!!

1 Like