code: def correlation_scatter_charts(
      d: pd.DataFrame, title: str = ""
  ) -> alt.Chart:
      """Produces a grid of scatter plots of runtimes of stages versus covariates.
  
      Args:
        d: A pandas dataframe of runtime by regions.
        title: A title for the plot.
  
      Returns:
        An altair chart
      """
      columns_used = (
          ["region", "total runtime"] + RUNTIME_COLUMNS + COUNT_COLUMNS
      )
      d = d[columns_used]
      return (
          alt.Chart(d)
          .mark_circle(opacity=0.1)
          .encode(
              x=alt.X(
                  alt.repeat("column"),
                  type="quantitative",
                  axis=alt.Axis(labelExpr="datum.value + 's'"),
              ),
              y=alt.Y(alt.repeat("row"), type="quantitative"),
              tooltip="region",
          )
          .properties(width=100, height=100)
          .repeat(
              column=["total runtime"] + RUNTIME_COLUMNS,
              row=COUNT_COLUMNS,
          )
          .properties(title=title)
      )
  
imports: from typing import Dict, Sequence, List, Tuple, Text, Union
  from absl import app
  from absl import flags
  import altair
  import pandas
  import tensorflow
  from third_party.nucleus.io import sharded_file_utils
  from deepvariant import dashboard_utils
label_desc: Use image node_id 6 for calling a global function with example usage: correlation_scatter_charts(d, title) and returns: alt