calculateYMax() {
    let max =
      d3.max(this.transformedData, c => {
        return d3.max(c, v => {
          return v.y;