code: def create_control_panel() -> html.Div:
      return html.Div(
          id="control-card",
          children=[
              html.Br(),
              html.P(
                  id="label", children="Upload Time Series Data File"
              ),
              dcc.Upload(
                  id="upload-data",
                  children=html.Div(
                      children=[
                          html.Img(src="../assets/upload.svg"),
                          html.Div(
                              id="select-a-file",
                              children=[
                                  html.P("Select a file"),
                                  html.P(" or drag it here."),
                              ],
                          ),
                      ]
                  ),
                  style={
                      "height": "50px",
                      "lineHeight": "50px",
                      "borderWidth": "1px",
                      "borderStyle": "dashed",
                      "borderRadius": "5px",
                      "textAlign": "center",
                      "margin": "5px",
                  },
                  multiple=True,
              ),
              html.Br(),
              html.P("Select Data File"),
              dcc.Dropdown(
                  id="select-file", options=[], style={"width": "100%"}
              ),
              html.Br(),
              html.P("Overall Stats"),
              html.Div(
                  id="data-stats-table",
                  children=[create_metric_stats_table()],
              ),
              html.Br(),
              html.P("Per-Variable Stats"),
              html.Div(
                  id="select-column-parent",
                  children=[
                      dcc.Dropdown(
                          id="select-column",
                          options=[],
                          style={"width": "100%"},
                      )
                  ],
              ),
              html.Br(),
              html.Div(
                  id="metric-stats-table",
                  children=[create_stats_table()],
              ),
              html.Br(),
              html.Div(
                  children=[
                      html.Button(
                          id="data-btn", children="Load", n_clicks=0
                      ),
                      html.Button(
                          id="data-cancel-btn",
                          children="Cancel",
                          style={"margin-left": "15px"},
                      ),
                  ],
                  style={"textAlign": "center"},
              ),
              html.Br(),
              html.P("Download Trained Model"),
              html.Div(
                  id="data-download-parent",
                  children=[
                      dcc.Dropdown(
                          id="data-download",
                          options=[],
                          style={"width": "100%"},
                      )
                  ],
              ),
              html.Br(),
              html.Div(
                  children=[
                      html.Button(
                          id="data-download-btn",
                          children="Download",
                          n_clicks=0,
                      ),
                      dcc.Download(id="download-data"),
                  ],
                  style={"textAlign": "center"},
              ),
              html.Br(),
              create_modal(
                  modal_id="data-exception-modal",
                  header="An Exception Occurred",
                  content="An exception occurred. Please click OK to continue.",
                  content_id="data-exception-modal-content",
                  button_id="data-exception-modal-close",
              ),
              create_modal(
                  modal_id="data-download-exception-modal",
                  header="An Exception Occurred",
                  content="An exception occurred. Please click OK to continue.",
                  content_id="data-download-exception-modal-content",
                  button_id="data-download-exception-modal-close",
              ),
          ],
      )
  
file_path: merlion/merlion/dashboard/pages/data.py
imports: from dash import dcc
  from dash import html, dash_table
  from merlion.dashboard.pages.utils import create_modal, create_empty_figure
  from merlion.dashboard.settings import *
label_desc: Use image node_id 3 for calling a global function with example usage: create_control_panel() and returns: html