1. Learn
  2. /
  3. Courses
  4. /
  5. Building Dashboards with Dash and Plotly

Connected

Exercise

Enhancing the sales dashboard

The e-commerce company is thrilled with your work and keeps coming up with creative new ideas. This time, they want a powerful dashboard that combines everything you’ve built so far into one interactive interface.

Now they wish to have:

  • A line chart of monthly sales filtered by major and minor categories.
  • A dropdown for each category, where the minor options update based on the major selection.
  • A table showing aggregated stats for those categories.
  • A bar chart of total sales by country.
  • Another bar chart showing minor category sales that updates when hovering over the country chart.

You've already built all the parts - now it's time to bring them together!

Instructions

100 XP
  • Turn on pagination for the grid by setting the pagination parameter below line 23.
  • Limit each page to show 6 rows by setting the paginationPageSize parameter below line 26.
  • Insert the grid object into the app.layout list below line 49.