Sub topic 3
Adjusting chart type, series, and labels
This chapter assumes you know how to select a range in Google Sheets, insert a chart, and read simple formulas such as SUM. It also assumes your account has the Gemini side panel. Gemini produces a first-draft chart, and you refine it in the chart editor.
Changing the chart type, series, and labels
Ask Gemini for a starting chart, then open the chart editor to adjust it. Click the chart, choose the three-dot menu, and select Edit chart. The Setup tab controls the chart type and data range. The Customize tab controls the title, axis labels, and series formatting.
Prompt example: "Create a column chart of total Amount by Category using A1:E50, titled Spending by Category."
- Chart type: switch to a bar chart when category names are long.
- Series: remove a column you do not need from the data range.
- Labels: edit the chart title and axis titles in the Customize tab.
Checking results against your data
Compare the chart with the source rows before you rely on it.
| Check | How to test it |
|---|---|
| Range coverage | Confirm the range includes the last row, such as row 50. |
| Totals | Use =SUMIF(B2:B50, "Groceries", D2:D50) and compare it with the bar height. |
| Axis | Confirm totals start at zero. |
Refining with follow-up prompts and manual edits
Name the change in a follow-up prompt, such as "Change this to a bar chart and sort categories by total, largest first." If Gemini changes something you did not want, press Ctrl+Z to undo it. For small fixes, such as a typo in a title, edit the chart by hand. That is faster than another prompt.
Limits and data privacy
Gemini can misread headers, pick the wrong range, or produce a chart that looks right but uses the wrong column. Treat its output as a draft and verify it.
Gemini works with the data in the sheet where you use it. Check your organization's Workspace settings and privacy terms before using it on sensitive data. Remove personal or confidential columns if your policy requires it.
Exercise
A bar chart of total spending by category omits the last category. Your data runs from row 2 to row 50. What is the likely cause, and how do you fix it?
Show answer
The data range stops one row short, such as A1:E49. Open the chart editor, go to the Setup tab, and change the data range to A1:E50.