Adding More Interactivity
00:00 Adding more interactivity. In the previous video, you created a callback function to allow Dash’s interactivity to work. With all of that in place, you can now add extra interactivity following the same pattern.
00:15 The next filter will allow selection of avocado type. You’ll be pleased to know that once you have the foundations in the previous section in place and interactive charts working, adding additional filters involves less code. First, create the dropdown in the page, straight after the first dropdown code.
01:59 Adding a further filter to the dashboard follows the same workflow as seen previously. First, the filter is added to the HTML code for the page. Note that here, instead of a dropdown menu, a date range is added.
03:36 Onscreen, you can now see the final version of the application, where it’s possible to filter by region, avocado type, and date range, allowing a user to quickly zero in on the information they’re interested in.
Become a Member to join the conversation.