From the course: Interactive Dashboards with Plotly and Dash

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Assignment: Advanced callbacks

Assignment: Advanced callbacks

- [Instructor] All right, everybody, our last email from Leonard Lift in this course, I know it's a very sad moment for everyone, so feel free to take a minute. But the subject line is Updated Table App. He writes us, "Hey there, can we update the table application we created earlier to include a few more features? I'd like the user to be able to select whether a bar chart or a table is returned, and I don't want the app to run until the user clicks a button to confirm their choices. Thanks!" Once again, I'll be working out of our Section 6 Assignments Notebook, and if you take a look at the app, we still have our Country dropdown, we still have our Elevation slider, but now we have a radio button that toggles between Chart Output and Table Output and a button that triggers the firing of our callback function. So, let's go ahead and take a look at our notebook. All right, so if you take a look at our notebook, and so I've written the instructions in the notebook and what we want to do…

Contents