code: def normalize_sizes(sizes, dx, dy):
      """
      Return list of normalized values corresponding to a list of supplied values
      and specified width (dx)/ height (dy) dimensions.
  
      :param sizes: Ordered (desc) list of values to be plotted as treemap squares
      :param dx: Total treemap width
      :param dy: Total treemap height
      :return: List of normalized values corresponding to original list
      """
      total_size = sum(sizes)
      total_area = dx * dy
      sizes = map(float, sizes)
      sizes = map(lambda size: size * total_area / total_size, sizes)
      return list(sizes)
  
file_path: aequitas/src/aequitas/squarify_flipped.py
imports: import matplotlib.pyplot
  import itertools
label_desc: Use image node_id 1 for calling a global function with example usage: normalize_sizes(sizes, dx, dy) and returns: list