Sub topic 3
Inserting Your First Chart
Assume you know how to select a range, enter data, and use simple formulas such as SUM. This chapter uses a small sales table to show how Google Sheets turns selected cells into a chart.
Prepare the source data
Charts work best when the source range has a clear rectangular layout. Put category labels in one column and related values in another. If you have several series, put each series in its own column.
| Month | Online sales | Store sales |
|---|---|---|
| January | 1200 | 950 |
| February | 1450 | 1100 |
| March | 1325 | 1250 |
| April | 1680 | 1400 |
The first row contains headers. Headers are labels that tell Sheets what each column represents. The first column contains category labels. Here, the categories are months.
Avoid blank rows or unrelated notes inside the selected range. They can make Sheets guess the data structure incorrectly.
Select the range and insert the chart
- Enter the table in cells
A1:C5. - Select
A1:C5, including the header row. - Select Insert > Chart.
- Sheets inserts a chart and opens the Chart editor on the right.
- Review the suggested chart type. Sheets often chooses a column chart for this table.
- Click the chart and drag it if you need to move it to another area of the sheet.
Sheets creates a chart from the selected range, but its first guess is not always suitable. The chart editor lets you correct that guess without changing the source data.
Check the chart editor
The Setup tab controls what the chart represents.
- Chart type changes the visual form, such as column, line, bar, or pie.
- Data range identifies the cells used by the chart. You can type a range such as
Sheet1!A1:C5. - X-axis identifies the category labels, such as the months.
- Series identifies the numeric columns, such as Online sales and Store sales.
- Use row 1 as headers tells Sheets to use the first row as series names.
- Use column A as labels tells Sheets to use the first column as category labels.
- Switch rows / columns changes whether rows or columns become series.
For this table, the expected setup is:
| Setting | Expected value |
|---|---|
| Data range | `A1:C5` |
| X-axis | Month |
| Series | Online sales, Store sales |
| Headers | Row 1 |
| Labels | Column A |
If the chart displays months as separate series, click Switch rows / columns. If the series names appear as “Series 1” and “Series 2,” check that Use row 1 as headers is enabled.
Confirm the result
A column chart is useful here because it compares two sales values for each month. If your question is how sales change over time, choose a line chart instead. The chart type belongs to the question you are asking, not just to the shape of the source table.
Exercise
Your selected range is A2:C5, but the chart shows generic series names and no month labels. What should you check first?
Show answer
Re-select the range including row 1, or set the data range to A1:C5 and enable the options to use row 1 as headers and column A as labels.