Modify the App by Parsing URLs and Using Their Components

Get familiar with altering the components and parameters of a Dash application to achieve the desired functionality and layout.

Having established some working knowledge about how Location and Link components work, we want to use this in our app. The plan is to do the following:

  • Add 169 new pages using three callbacks and adding a few new layout elements.
  • The user will have a drop-down menu of countries to choose from.
  • Selecting a country modifies the URL, which will render the country layout.

This layout will include a heading, a chart, and a table about the country in the URL. The illustration below shows a sample of a country page that we’ll build:

Get hands-on with 1200+ tech skills courses.