code: def _build_depth_histogram(data):
      """Build histogram with depth (DP)."""
      width = 200
      height = 200
      title = "Depth"
      depth_data = _integer_counts_to_histogram(data)
      depth_histogram = _placeholder_for_empty_chart(
          "No entries in VCF with DP",
          width=width,
          height=height,
          title=title,
      )
      if not depth_data.empty:
          # s = bin_start, e = bin_end, c = count
          depth_histogram = (
              alt.Chart(depth_data)
              .mark_bar(color=BAR_COLOR_DEPTH)
              .encode(
                  x=alt.X("s", title="Depth"),
                  x2="e",
                  y=alt.Y(
                      "c",
                      title="Count",
                      stack=True,
                      axis=alt.Axis(format="s"),
                  ),
              )
              .properties(width=width, height=height, title=title)
              .interactive(bind_y=False)
          )
      return depth_histogram
  
imports: import io
  import json
  import os
  import altair
  import numpy
  import pandas
  import tensorflow
label_desc: Use image node_id 11 for calling a global function with example usage: _build_depth_histogram(data) and returns: depth_histogram