CDAP-735: Update visualization of Spark job metrics

Please don't use inline functions unless they add something. You don't need closures here, these functions should return a value or declare it at the rescaleLineSizes level.