title: Plotly Dashboard: How to make a simple dropdown to display figures?
body: <p>My figures are saved in a dictionary and they are accessible, but I am lost on what to put on options and value.</p>
  <pre><code>app = JupyterDash(__name__)
  app.layout = html.Div([
      dcc.Dropdown(
          id='launch-data',
          options=[
              {&quot;label&quot;:&quot;All&quot;,&quot;value&quot;:&quot;launch_tot_fig&quot;}],
              value=launch_tot_fig
              ),
          
  
      html.Div(id=&quot;dd-output-container&quot;)]
      )
  
  @app.callback(Output('dd-output-container', 'children'),Input('launch-data', 'value'))
  def update_output(value):
      return 'You have selected &quot;{}&quot;'.format(value)
  if __name__ == '__main__':
      app.run_server(debug = True)
  </code></pre>
  <p>I also have the figure launch_tot_fig that is a pie chart for the launch sites. So that is to show when the input is &quot;All&quot;.</p>
  <p><a href="https://i.stack.imgur.com/8v9Ps.png" rel="nofollow noreferrer">The Dictionary is launchmass with the SPACEX launchsites as keys</a></p>