"The insertWorksheetsFromBase64 method does not support for Excel on the Web doesn't support source worksheets with PivotTable, Chart, Comment, or Slicer elements." Work with workbooks using the Excel JavaScript API - Office Add-ins | Microsoft Docs
This is a major limitation.