code: def histogram_card(
      x,
      a=0.1,
      b=0.9,
      x_axis_description="text_length",
      histogram_box="first",
      title="Text Length (split by whitespace)",
  ):
      assert " " not in x_axis_description, (
          "x_axis_description in histogram card must not contain spaces, "
          "as the card would not be rendered."
      )
      df_quantile = compute_quantile_df(x, a, b)
      df_quantile = df_quantile.rename(
          columns={"length": x_axis_description}
      )
      card = ui.plot_card(
          box=histogram_box,
          title=title,
          data=data(
              fields=df_quantile.columns.tolist(),
              rows=df_quantile.values.tolist(),
              pack=True,
          ),
          plot=ui.plot(
              marks=[
                  ui.mark(
                      type="area",
                      x=f"={x_axis_description}",
                      x_title=f"Total samples: {len(x)}",
                      y="=count",
                      y_title="Count",
                      color="=data_type",
                      shape="circle",
                  )
              ]
          ),
      )
      return card
  
imports: from typing import List
  import pandas
  from h2o_wave import data, ui
label_desc: Use image node_id 1 for calling a global function with example usage: histogram_card(x, a, b, x_axis_description, histogram_box, title) and returns: card