How to make a chart in Google Sheets
Select your data, click Insert then Chart, and Google Sheets draws a chart that you can change in the chart editor. Put the labels in the first column and a name at the top of each column first, and the chart comes out right with little editing.
Updated · 5 min read
Set up your data so the chart comes out right
Most bad first charts start with the data layout. Sheets draws the chart from the shape of the cells you select, so a tidy block gives you a good chart first time.
Google's layout for column and line charts is simple:
- First column: the labels, such as months, regions or products. They run along the horizontal axis.
- First row: a short name at the top of each column. These become the labels in the legend.
- Other columns: the numbers, one measure per column.
For monthly sales by region, put the months down column A and give North, South and East a column each.
Keep the block clean. Leave out blank rows, merged cells and notes typed inside the range. Leave any total row out of the selection too, or it becomes a bar of its own.
North led sales in every month
Sales by region, £k
Apr has the highest North at 57, ahead of Mar (51). Jan has the lowest at 42. North is above South in all 4.
- North
- South
- East
Source: Sample data
| Month | North | South | East |
|---|---|---|---|
| Jan | 42 | 35 | 28 |
| Feb | 48 | 38 | 33 |
| Mar | 51 | 44 | 31 |
| Apr | 57 | 46 | 39 |
Each region is one series and the months sit along the bottom. That is what a clean layout gives you.
Make the chart: the steps
On a computer:
- Open the spreadsheet in Google Sheets.
- Select the cells you want in the chart, including the header row and the label column.
- Click Insert, then Chart.
The chart appears on the sheet. To change it, double-click it. The chart editor opens at the right, with a Setup tab and a Customize tab.
Check the result straight away. Do the labels run along the bottom? Is each series one of your named columns? If the chart has come out sideways, click Setup, then Switch rows / columns. If the legend is missing your column names, choose Use row N as headers in Setup, where N is your header row. If you selected the wrong cells, go to Data range in Setup, click the grid icon, select the right cells and click OK.
Pick the right chart type
To change the type, double-click the chart, click Setup, open the list under Chart type and pick another. Google's list includes line, area, column, bar, pie, scatter, histogram, waterfall, tree map, geo, radar and more.
Pick the type from the question the chart answers:
- Comparing amounts across categories: column or bar. Google describes the column chart as a way to show "one or more categories, or groups, of data".
- One measure over time: line.
- Parts of one whole: pie, with only a handful of slices.
- Two numbers for each item: scatter.
- How values are spread: histogram. If that sounds like a bar chart, see bar chart vs histogram.
Sign-ups rose every week for six weeks
Weekly sign-ups
Sign-ups rose 58% from 120 to 190 between Wk 1 and Wk 6.
Source: Sample data
| Week | Sign-ups |
|---|---|
| Wk 1 | 120 |
| Wk 2 | 135 |
| Wk 3 | 150 |
| Wk 4 | 162 |
| Wk 5 | 171 |
| Wk 6 | 190 |
With one measure over time, a line shows the direction at a glance. If you are stuck, the chart picker walks through the choice, and best chart for comparison covers bars, slopes and dumbbells.
Edit the chart: title, labels, colours and axes
Double-click the chart and click Customize. Google's help covers these sections:
- Chart & axis title: next to "Type", pick the title to change, then type it under "Title text".
- Legend: change its position, font, style and colour.
- Gridlines: change them, or set the "Major gridline count".
- Chart style: the background, font and other options.
- Vertical axis and Horizontal axis: set minimum or maximum values, change the scale and format the labels.
To recolour a single bar or point, right-click it on the chart and choose Format Data Point.
A few habits make the biggest difference. Write a title that states the point, such as "North led sales in every month", in place of "Sales by region". Start column and bar axes at zero: Datawrapper Academy calls truncated bar axes "deceptive and misleading", because readers judge bars by their length. Line charts do not need to start at zero. Use a few clear colours that readers with colour blindness can tell apart; colour-blind safe chart colours has a starting set.
What about three variables or an XY graph?
An XY graph is a scatter chart in Sheets. Google's layout puts the X values in the first column and the Y values in the next column. Each row is one point, and each extra column of Y values becomes another series of points. Select the cells, click Insert, then Chart, and choose Scatter chart under Chart type if Sheets picked something else.
Three variables depends on what the variables are:
- Two of them are a category and a time or label, such as sales by month and region. That is the column chart above: labels down the first column and one column of numbers per region.
- All three are numbers. Use a bubble chart, which Google lists as a type of scatter chart. Its layout has five columns: a label, the X values, the Y values, a series name (each series gets its own colour) and a number for the bubble size. Each row is one bubble.
Phone and tablet differences
The Sheets app on Android, iPhone and iPad starts the same way: open the spreadsheet, select the cells, tap Insert, then Chart. To pick a different chart, tap Type, then tap Done.
To edit a chart later, double-tap it and tap Edit chart. Google's mobile help lists four options there: Type, Legend, Titles and Color. It does not list axis, gridline or chart style settings for the apps, so make those changes on a computer.
When to make the chart somewhere else
A Sheets chart is fine inside the sheet. To get it out as a file, see how to save a Google Sheets chart as an image.
You might need a cleaner image for a slide or report, or an embed that sizes itself on a web page. For that, Chartsmade is the faster route. Paste the same table, upload a CSV or Excel file, give it a link to a CSV or a published Google Sheet, or describe the chart in a sentence. It suggests a chart. You then download a PNG (fixed sizes up to 1920×1080) or an SVG, or share a live embed. There are brand kits, it is free to start and the editor needs no account. Free downloads carry a small "Made with Chartsmade" line.
Chartsmade has no scatter or bubble chart, so keep XY and three-number charts in Sheets. For sales by month and region, its grouped bars or small multiples do the job.
Questions
- How do I make a chart in Google Sheets?
- Open the spreadsheet, select the cells including the header row and label column, then click Insert and Chart. To change the type, double-click the chart, click Setup and choose from the list under Chart type.
- Why does Google Sheets put the wrong data on the axes?
- Usually the layout. Sheets expects labels in the first column and a name at the top of each column. If the chart comes out sideways, double-click it, click Setup, then Switch rows / columns. If the legend has no names, choose Use row N as headers.
- How do I make a graph with three variables in Google Sheets?
- If one variable is a category, such as region, use a column chart with one column of numbers per category. If all three are numbers, use a bubble chart: a label, then X values, Y values, a series name and a bubble size, one row per bubble.
- How do I make an XY graph in Google Sheets?
- Use a scatter chart. Put the X values in the first column and the Y values in the next column, select both, click Insert then Chart, and choose Scatter chart under Chart type if Sheets picked something else.
- Can I make a chart from a Google Sheet without using Sheets' chart tool?
- Yes. Chartsmade takes a link to a published Google Sheet, or a pasted table, suggests a chart and gives you a PNG, an SVG or a live embed. It has no scatter or bubble chart, so XY charts stay in Sheets.
Sources
- Google Docs Editors Help, Add & edit a chart or graph (Computer)
- Google Docs Editors Help, Add & edit a chart or graph (Android)
- Google Docs Editors Help, Add & edit a chart or graph (iPhone & iPad)
- Google Docs Editors Help, Types of charts & graphs in Google Sheets
- Google Docs Editors Help, Column charts
- Google Docs Editors Help, Line charts
- Google Docs Editors Help, Scatter charts
- Google Docs Editors Help, Edit your chart's axes
- Datawrapper Academy, Why our column and bar charts start at zero