You can delete any chart in your spreadsheet without affecting any table data.
Tap the chart, then tap Delete.
Deleting the table data you used to create the chart doesn’t delete the chart; it simply clears the chart of all data.