Adding the New Functionality to Our App

Learn how to add the Figure objects into a working application.

Adding Dropdown, Graph, and Tabs

So far, the latest version of the app contains a Dropdown component, and underneath that, the Div for the population report of 2010. Underneath that, we have the Tabs component. Let’s now insert the new Dropdown and Graph components right underneath the report area and above the Tabs component. Let’s also add the new callback function.

  1. We’ll copy the two new components to where they belong in the app.layout attribute.

Get hands-on with 1400+ tech skills courses.