code: def scatter_plot_fn(dataset):
      if dataset == "iris":
          return gr.ScatterPlot(
              value=iris,
              x="petalWidth",
              y="petalLength",
              color="species",
              title="Iris Dataset",
              color_legend_title="Species",
              x_title="Petal Width",
              y_title="Petal Length",
              tooltip=["petalWidth", "petalLength", "species"],
              caption="",
          )
      else:
          return gr.ScatterPlot(
              value=cars,
              x="Horsepower",
              y="Miles_per_Gallon",
              color="Origin",
              tooltip="Name",
              title="Car Data",
              y_title="Miles per Gallon",
              color_legend_title="Origin of Car",
              caption="MPG vs Horsepower of various cars",
          )
  
label_desc: Use image node_id 1 for calling a global function with example usage: scatter_plot_fn(dataset) and returns: gr, gr