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

Connected

Exercise

Sales in a Dash app

Your Plotly graphs are making a significant impact at the company. However, it is difficult to share your work with other colleagues. You constantly have to export your graphs as images or HTML files, and when there's a new version, you need to send many emails.

It would be better if you could serve up the graphs you create as a web application. You decide to try this out on your line graph of monthly sales by country.

The ecom_sales dataset is available, and line_fig has been recreated for you.

Instructions

100 XP
  • Create a blank Dash app object called app.
  • Set up the app layout to be a single graph component using the line_fig figure.
  • Set the app to run the server in development mode when the script is run from the console.