4 - Creating Your Own Database (Google Sheet)
⚠️ Important Note: This page was updated significantly August 30, 2021 to fix a new problem with loading spreadsheet data.
Last updated
viz.loadTable('https://docs.google.com/spreadsheets/d/e/2PACX-1vQUwF7K2lCH8CxQPJW-X7NqENwuwUM4eAeNUKw3j6yppO0tipC6yUB2hQPtRBZf19mmVbM5TdkkengZ/pub?gid=1030028695&single=true&output=csv', 'myData')
.then(composeMyCharts);function composeMyCharts() {
viz.chart({
sql:"SELECT x, y FROM myData",
chartType:"ScatterChart",
containerId:"chart1"
});
viz.chart({
sql:"SELECT * FROM myData",
chartType:"Table",
containerId:"chart2"
});
}