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

Connected

Exercise

Updating a plot title

The e-commerce company you have been working with has a new challenge for you.

They are interested in providing a way to make a plot customized to the end user. That is, the title of the plot should be configurable so the end user feels it is personalize to them.

This sounds like a job for a user-input component!

Help the e-commerce company enhance their Dash app by taking text user input to update the plot title.

Instructions

100 XP

~- Add a text input component called dcc.Input with identifier add_user_name below line 33.

  • Set the debounce parameter so the callback is triggered when the user presses 'Enter' below line 36.
  • Set the required parameter so users are not required to use this input for the graph to render below line 38.