code: def x_vs_y(collection_x, collection_y, title_x=None, title_y=None, width=43, filter_none=False):
      
      data = merge_x_y(collection_x, collection_y, filter_none)
  
      max_value = get_max_x_y(data)
      bins_total = int(float(max_value) / width) + 1
  
      if title_x is not None and title_y is not None:
          headers = [title_x, title_y]
      else:
          headers = None
      result = []
      # Sort keys
      for item in sorted(data):
          #result.append([item, str(data[item]['x']) + '|' + str(data[item]['y'])])
          bins_x = int((float(data[item]['x']) / float(max_value)) * bins_total) + 1
          bins_y = int((float(data[item]['y']) / float(max_value)) * bins_total) + 1
          print(bins_x)
          print(bins_y)
          #result.append([item, str(data[item]['x']), str(data[item]['y'])])
          result.append([item, '*' * bins_x, '*' * bins_y])
      result = to_smart_columns(result, headers=headers)
      return result
docs: Print a histogram with bins for x to the left and bins of y to the right