code: def test_wordcloud():
      import dtale.views as views
  
      df = pd.DataFrame(dict(a=[1, 2, 3], b=[4, 5, 6], c=[7, 8, 9]))
      with app.test_client() as c:
          df, _ = views.format_data(df)
          build_data_inst({c.port: df})
          inputs = {
              "chart_type": "wordcloud",
              "x": "a",
              "y": ["b"],
              "z": None,
              "group": None,
              "agg": None,
              "window": None,
              "rolling_comp": None,
          }
          chart_inputs = {
              "cpg": False,
              "cpy": False,
              "barmode": "group",
              "barsort": None,
          }
          extended_aggregation = [
              dict(col="b", agg="mean"),
              dict(col="b", agg="sum"),
          ]
          params = build_chart_params(
              c.port,
              inputs,
              chart_inputs,
              extended_aggregation=extended_aggregation,
          )
          response = c.post(
              "/dtale/charts/_dash-update-component", json=params
          )
          resp_data = response.get_json()["response"]
          assert (
              resp_data["chart-content"]["children"]["props"][
                  "children"
              ][1]["type"]
              == "Wordcloud"
          )
  
file_path: dtale/tests/dtale/dash/test_extended_aggregation_charts.py
imports: import pandas
  import pytest
  from pkg_resources import parse_version
  import dtale.global_state
  from dtale.app import build_app
  from tests.dtale import build_data_inst
  from tests.dtale.dash.test_dash import build_chart_params, get_url_parser
  from tests.dtale.test_charts import build_col_def
  from tests.dtale.test_views import URL
label_desc: Use image node_id 5 for calling a global function with example usage: test_wordcloud() without return types