Sub topic 10
Adjusting Chart Type, Series, and Labels
Assume you can open the Gemini side panel in Google Sheets, select a data range, and create a basic chart. You should also understand that a range such as A1:E50 includes columns A through E and rows 1 through 50.
A chart is a visual summary of data. Gemini can suggest a chart, but the first result may use the wrong chart type, include an unwanted series, or label the data poorly. Treat the generated chart as a draft. Check its structure before using it to support a decision.
Choose a chart type for the question
The chart type should match the comparison you want to make.
- Use a column chart to compare totals across categories.
- Use a line chart to show change over time.
- Use a bar chart when category names are long.
- Use a pie chart only when you need to show parts of one whole and have a small number of categories.
- Use a scatter chart to compare two numeric variables.
For example, a monthly expense table might contain Date, Category, Description, Amount, and Paid By. A useful chart could compare total Amount for each Category. A line chart of individual expenses would usually answer a different question.
Ask Gemini to state the intended grouping and measure:
Create a column chart of total Amount by Category using the summary data in G1:H10. Use Category as the horizontal axis, Amount as the numeric series, and title the chart "Spending by Category".The range should contain one row of headers and a consistent set of records or summary values.
Control the series
A series is a set of related numeric values drawn on a chart. If your selected range includes several numeric columns, Sheets may add each one as a separate series. This can make the chart difficult to read.
Review these settings after Gemini creates the chart:
- Open the chart editor by double-clicking the chart.
- In Setup, check the data range.
- Confirm the correct column is used for the horizontal axis.
- Under Series, remove measures that do not answer your question.
- Confirm that the first row is treated as headers and the first column is treated as labels.
For example, if a table has Category, Amount, and Budget, you might compare Amount with Budget. If the purpose is only to show spending, remove Budget rather than leaving it as an accidental second series.
Improve titles, axes, and labels
A useful title describes both the measure and the grouping. “Expenses” is vague. “Monthly Spending by Category” gives the reader more information.
Ask for labels explicitly:
Change the chart to a horizontal bar chart. Keep Category as the axis labels and Total Amount as the only series. Set the title to "Monthly Spending by Category", label the horizontal axis "Amount ($)", and sort categories from highest to lowest amount.You can also edit these settings manually in the chart editor:
| Chart element | What to check | Example |
|---|---|---|
| Title | States what is measured and grouped | Monthly Spending by Category |
| Horizontal axis | Names the categories or dates | Category |
| Vertical axis | Names the numeric measure and unit | Amount ($) |
| Legend | Identifies each series | Actual, Budget |
Avoid relying on a legend when there is only one series. A direct axis label and a clear title may be enough.
Use a refinement loop
Chart refinement works best as a short cycle:
After each change, compare the chart with the source table. Check that the highest and lowest categories appear where expected, dates are in the correct order, and no blank or total row was included accidentally. Use a manual edit when it is faster and safer than another prompt.
Exercise
A chart compares Category, Amount, and Budget, but you only want to show spending. What should you change?
Show answer
Keep Category as the axis and Amount as the only series. Remove Budget in the chart editor, then confirm the title and axis labels describe spending.