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.
Solution: Multiple interactive elements
From the course: Interactive Dashboards with Plotly and Dash
Solution: Multiple interactive elements
- [Instructor] All right, everybody. A portion of our solution code is up on the right. We included the setup for the front end of our application as well as the setup, as well as our callback decorator. Let's go ahead and dive into the notebook. Okay, so what we're going to do is start with our application from assignment one. This was just our simple night ski snow park toggle map. But now what we're going to do is add a few bells and whistles. The first thing we're going to do is embed our slider. And this is exactly the same as the slider we built in the assignment two. And so we need to make sure that our callback can handle this input. And so our elevation slider is still titled Elevation Slider. And so we're going to take input from this up here. And so we need to add an argument to handle this. So we're going to say elevation, and then we'll also take in the features from our checklist. And so I'll go ahead and un-comment this piece. And so the first thing we're going to do is…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Intro to interactive elements3m 34s
-
(Locked)
Interactive element overview4m 1s
-
(Locked)
Dropdown menus5m 17s
-
(Locked)
Demo: Dropdowns6m 35s
-
(Locked)
Checklists3m 36s
-
(Locked)
Assignment: Checklists2m 27s
-
(Locked)
Solution: Checklists2m 43s
-
(Locked)
Radio buttons4m
-
(Locked)
Sliders6m 8s
-
(Locked)
Range sliders4m 28s
-
(Locked)
Assignment: Sliders1m 56s
-
(Locked)
Solution: Sliders4m 54s
-
(Locked)
Date pickers5m 2s
-
(Locked)
Demo: Date pickers8m 11s
-
(Locked)
Multiple input callbacks6m 32s
-
(Locked)
Multiple output callbacks6m 15s
-
(Locked)
Assignment: Multiple interactive elements2m 30s
-
(Locked)
Solution: Multiple interactive elements4m 9s
-
(Locked)
Key takeaways1m 52s
-
(Locked)
-
-
-
-