In order to load data from Google Sheets you have to follow the following steps.
In the top right corner of the page, click the Share button.
Once you’ve adjusted the settings, click Copy link to copy the link to your clipboard.
Depending on the type of charts you selected the data you enter in the Google sheet should look different:
Here is an example for these types of charts
Dataset 1 | Dataset 2 | |
---|---|---|
Label 1 | 25 | 12 |
Label 2 | 30 | 22 |
Label 3 | 35 | 34 |
The first line with the headers will ignore the first cell and the next cells need to contain the names of the datasets (they will be displayed in the legend)
The first colum starting from the second line will contain the names of the lables which will be displayed alongside the X axis for bar, line and area charts and around the ends for radar chart.
All the other cells from the second line and second column should contain numeric values representing data points. Each column from column number 2 represents a dataset.
You can create as many columns as you wish, but you have to make sure you respect the above mentioned rules.
Here is an example for these types of charts
Data | |
---|---|
Label 1 | 25 |
Label 2 | 30 |
Label 3 | 35 |
First column from second line represents the dataset labels represented in the legend
Second column from second line should contain numeric values representing the values of a pie.
Here is an example for this type of chart.
Dataset 1 | Dataset 2 | ||
---|---|---|---|
12 | 25 | 12 | 34 |
33 | 30 | 34 | 45 |
44 | 35 | 22 | 36 |
First line should contain the dataset names separated by one empty cell.
Second line below should contain for each dataset x and y coordinates for the scatter points. The values are below the dataset name - for example 12 and 25 represent the x and y coordinates for a point from Dataset 1.
Here is an example for this type of chart.
Dataset 1 | Dataset 2 | ||||
---|---|---|---|---|---|
12 | 25 | 12 | 34 | 12 | 10 |
33 | 30 | 34 | 45 | 33 | 5 |
44 | 35 | 22 | 36 | 12 | 44 |
It is similar to the scatter chart, exception is that it has an additional column for each dataset that represents the radius of the bubble. For example 12, 25 and 12 represent the x, y and radius of a bubble from Dataset 1.