First, do you mean a Google Sheet or Excel? Google Sheets are much easier to work with and the charts will update as soon as the sheet is, and the web page refreshed.
Excel is going to need a bit more help to work properly and there's very little help around for doing it. There's some at the following, but I haven't used them...
SheetJS on GitHub uses JavaScript to create the JSON data
function drawChart() {
var queryString = encodeURIComponent('SELECT A, B, C, D, E order by A');
var query = new google.visualization.Query(
query.send(handleQueryResponse);
}
function handleQueryResponse(response) {
if (response.isError()) {
alert('Error in query: ' + response.getMessage() + ' ' + response.getDetailedMessage());
return;
}
var crewDataTable = response.getDataTable();
...
...
}
or you can omit the querystring altogether and simply use
var query = new google.visualization.Query(
in which case Google will try and import the entire sheet to work on.
Unless you are using the authorization method at
https://developers.google.com/chart/interactive/docs/spreadsheets#authorization the only thing to remember is to make the Google Sheet public or "viewable to anyone with the link". I don't use authorization because I don't keep anything in the Sheets that is not going to be put onto a web page in one form or another anyway.
Other than where the data comes from to create the datatable there's no difference in the code to be used to create your charts, and all the methods and events for your particular chart types will work as they should.
I hope this helps.