code: def color_scale(val):
      for i, b in enumerate(BREAKS):
          if val < b:
              return COLOR_RANGE[i]
      return COLOR_RANGE[i]
  
imports: import math
  import pandas
  import pydeck
label_desc: Use image node_id 1 for calling a global function with example usage: color_scale(val) and returns: COLOR_RANGE, COLOR_RANGE