Sub topic 3
Inserting your first chart
This chapter covers how to create a chart from a data range in Google Sheets, what Sheets does automatically when you do, and how to fix the most common surprises right after insertion. It assumes you can select ranges, you know the difference between a header row and a data row, and your data is already laid out as a clean table (one row per record, one column per field, headers in the first row).
What you need before you insert
Sheets guesses the chart's structure from the range you select. A good selection makes the guess correct. Before inserting, check three things:
- The range is a rectangle with no fully blank rows or columns inside it.
- The first row holds short text headers, and the first column holds the categories (such as months or product names).
- The numeric columns contain real numbers, not text. Numbers stored as text are left-aligned by default and are often charted as zeros or ignored.
The examples in this chapter use this small table in A1:C7:
| Month | Sales | Costs |
|---|---|---|
| Jan | 1200 | 800 |
| Feb | 1500 | 900 |
| Mar | 1100 | 950 |
| Apr | 1800 | 1000 |
| May | 2100 | 1100 |
| Jun | 1950 | 1050 |
Inserting the chart
- Select
A1:C7, including the headers. - Open the Insert menu and choose Chart. You can also click the Insert chart icon in the toolbar.
- Sheets places a chart on top of the sheet and opens the chart editor on the right.
Selecting the range first is the better habit. If you insert with a single cell selected, Sheets looks at the surrounding block of data and selects it for you. That works for tidy tables, but it can include a notes column or a totals row you did not want.
What Sheets chooses for you
When the chart appears, Sheets has made three decisions on your behalf. Each can be changed in the editor.
| Decision | What Sheets does | Where you change it |
|---|---|---|
| Chart type | Picks one based on the data shape. Dates or ordered categories in the first column usually give a line or column chart. | **Setup** tab, **Chart type** |
| Headers | Treats the first row as labels if it looks like text above numbers. | **Setup** tab, **Use row 1 as headers** |
| Labels | Treats the first column as category labels (the horizontal axis). | **Setup** tab, **Use column A as labels** |
For the sample table, Sheets typically creates a column chart or a line chart with two series: Sales and Costs. The months run along the horizontal axis.
A series is one set of values drawn as a line, a group of columns, or a set of bars. Each numeric column becomes one series by default. The legend names each series using the header cell above it.
The suggested charts
When the chart is selected, the Setup tab may show a Suggested gallery below the settings. Sheets proposes alternative chart types that fit your data. Clicking one switches the chart type without changing the range. This is a quick way to compare how the same data looks as columns, lines, or a stacked version.
Moving and resizing the chart
A new chart floats above the cells. It does not occupy any cells, so it can cover your data.
- Drag the chart body to move it. Drag a corner handle to resize it.
- Hold Shift while dragging a corner handle to keep the aspect ratio in some browsers. Otherwise, resize and judge the proportions by eye.
- To move the chart to its own tab, open the three-dot menu in the chart's top-right corner and choose Move to own sheet. This gives you a full-page chart, which is useful for presentation.
Moving a chart does not change its data range. Inserting or deleting rows inside the range does, and Sheets usually expands or shrinks the range automatically.
Reopening the editor
The editor closes when you click away. To reopen it, click the chart once to select it, open the three-dot menu in the top-right corner, and choose Edit chart. Double-clicking the chart also opens the editor. A single click selects the chart so you can move it, and a double-click on a title or axis label opens the editor at that element's customisation section.
Checking the result
Right after insertion, run through this short checklist:
- Does the horizontal axis show your categories (Jan to Jun) and not numbers such as 1 to 6?
- Does the legend show the header names, not "Series 1" or "Column B"?
- Is there one series for each numeric column you wanted, and no extras?
- Do the bar or line heights match the values in the cells?
If a check fails, the cause is nearly always in the Setup tab. The sections below cover the failures you will meet most often.
Common first-chart problems
The first row appears as data
If the legend reads "Series 1" or the first category is the word "Month", Sheets did not detect the header. Tick Use row 1 as headers in the Setup tab. If you selected a range that began below the headers, add the header row to the range instead.
The first column appears as a series
If Sheets draws the Month column as a series, or the horizontal axis shows 1, 2, 3, tick Use column A as labels. Text categories are normally detected as labels. Numeric categories, such as years like 2023 and 2024, are often treated as a series. Ticking the option corrects this. Another fix is to store the years as text.
Rows and columns are swapped
If the chart shows one series per month rather than one per measure, the orientation is wrong. Tick Switch rows / columns in the Setup tab. This swaps what is a category and what is a series. You can use it on purpose: with the sample data, switching gives one series per month and categories of Sales and Costs.
A column is missing or flat
A series that is missing, or drawn as a flat line at zero, usually contains numbers stored as text. Check for a leading apostrophe, a currency symbol typed as text, or a trailing space. Convert the cells to numbers with Format, then Number, or re-enter them.
The chart covers the data
Drag the chart aside or move it to its own sheet. Do not delete it to see the cells, because you will lose its formatting.
Inserting more than one chart
You can insert as many charts as you like on one sheet. Each has its own range and settings. To reuse a chart's formatting, select it, copy it with Ctrl+C (or Cmd+C on Mac), and paste it with Ctrl+V. Then edit the copy's data range. This is faster than rebuilding titles, colours, and fonts from scratch.
Exercise
You select A1:C7 and insert a chart. The legend shows "Series 1" and "Series 2", and the first row of the data is drawn as the first point. Which setting do you change, and where?
Show answer
Open the chart editor, go to the Setup tab, and tick "Use row 1 as headers". Sheets then uses the header cells (Sales and Costs) as series names and stops plotting the header row as data.
Exercise
A table has years in column A (2021, 2022, 2023) and revenue in column B. After insertion, the chart shows two series, "Year" and "Revenue", with 1, 2, 3 along the horizontal axis. How do you fix it?
Show answer
In the Setup tab, tick "Use column A as labels". Sheets then treats the years as categories on the horizontal axis and plots only Revenue as a series. Storing the years as text would also work.
Exercise
You inserted a chart from A1:C7 and now want each month as its own series, with Sales and Costs as the categories. What do you click?
Show answer
Tick "Switch rows / columns" in the Setup tab of the chart editor.