code: def calculate_chart_size_from_elements(
      header_size, element_size, number_elements
  ):
      """Calculates the total size for a chart based on the desired size for the header (title, axis, etc.), and the
      size and number of elements (lines, columns)."""
      return header_size + (element_size * number_elements)
  
file_path: aequitas/src/aequitas/plot/commons/helpers.py
imports: import altair
  import numpy
  from millify import millify, prettify
label_desc: Use image node_id 4 for calling a global function with example usage: calculate_chart_size_from_elements(header_size, element_size, number_elements) and returns: unknown