Incorporating the Function into the App
Learn how to add a stand-alone function to a Dash application.
Final goal
Here’s the plan for the functionality that we are going to introduce:
- Create a drop-down list using the countries and regions available in our dataset.
- Create a callback function that takes the selected country, filters the dataset, and finds the population of that country in the year 2010.
- Return a small report about the found data. The illustration below shows the desired end result:
Get hands-on with 1400+ tech skills courses.