Exercise

Paginating a key stats table

The key stats table created in the previous lesson was a great addition to the analytical toolkit of the global e-commerce company. However, it was far too long!

Let's fix that using Dash Data Table's built-in pagination options. This will greatly enhance the usability of the app and allow users to explore different sections of the data as they require.

Instructions

100 XP
  • Create a Dash Data Table object below line 21.
  • Add pagination to the Data Table using Dash's built-in pagination functionality below line 28.
  • Start the pagination on the first page of data below line 30.
  • Ensure each page renders 7 rows of data below line 32.