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

Exercise

Adding an HTML list to Dash

While working at your desk, someone from the Marketing department saw the last little dashboard you produced and have asked you to create one for them. They would like a bar chart of the top categories by total sales amount but with a list below that notes the top few categories for a quick glance.

They also have a few stylistic notes - but they all seem within your knowledge base given your recent work in HTML and Dash.

Your task is to extend the dashboard you created to include a list of the top categories and their sales volume.

Instructions

100 XP
  • Create an ordered HTML list using Dash below line 22.
  • Add two list elements containing the top two categories and their associated sales volumes (created for you on lines 9 and 10) to the ordered list below line 24.
  • Add a line break, so the copyright notice is on a new line below line 28.