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

Connected

Exercise

Date picker for sales data

The interactive sales dashboard you created was a smash hit; however, it is vital for the sales team to be able to monitor daily sales to analyze patterns and trends. You have been asked if you can extend your work to include a filter to view sales by major category on a particular date?

This sounds like a job for a date picker!

Instructions

100 XP
  • Create a date picker component called dcc.DatePickerSingle with the identifier sale_date below line 18.
  • Set the date parameter to April 11, 2011 below line 23 to show this as the initial visible date.