In this article:

How to Create a Line Chart in Google Sheets

Unsure which chart type to use? Click here to find the right chart for your data and the ideas that you want to convey.

Line charts consist of dots, representing data points, connected by a line. When plotting a metric, the x-axis is defined as the variable where the metric is dependent on, while the y-axis is the specific metric being visualized. ‍Usually, the x-axis shows the time period the metric is measured. Line charts are therefore used to visualize changes in a metric over time. 

Google Sheets offer three types of line charts, the simple line chart, the smooth line chart, and the combo chart (consists of a line chart and a bar chart).

The only difference between the simple line chart and the smooth line chart is that for the simple line chart, the data points are connected by straight lines, while for the smooth line chart involves a bit more processing to produce smooth, curving lines between points. 

For the combo chart, you can have several series plotted as a line but only a single series plotted as a bar. The uppermost in the list of series in the Setup tab in the Chart editor takes precedence as the one plotted as a column chart. 

This tutorial is a straightforward guide to inserting a line chart in Google Sheets with some notes on the type of data that it requires. 

How to format your data for a line chart

The data for a line chart needs to have the following columns:

  • First column: the data on the x-axis
  • Second column: the data on the y-axis
  • Succeeding columns: additional lines in the line chart, optional

Use the first row as the label for your series. You can set the first column for the time or date the data was recorded. 

For the combo chart, you can have several series plotted as a line but only a single one as a bar. The uppermost in the list of series in the Setup tab in the Chart editor takes precedence as the one plotted as a column chart. This is often the second column, which represents the first column of data.

How to create a line chart

Here are the steps in creating a line chart from an existing dataset in Google Sheets:

Step 1: Select the range of data that you want to visualize.

The dataset to be visualized, selected

Step 2: Click Insert, then click Chart.

Insert option selected on the main menu, drop down box, Chart highlighted

Step 3: Sometimes, the default chart type applied is not a line chart. On the right side, the Chart editor sidebar is loaded. Click the drop-down box below the Chart type. A list of possible chart types will be loaded. Look for the Line chart, and click it. 

Chart editor, Setup tab, Chart type, Line chart selected

Step 4: We now have a line chart. To add a title to the chart, go to the Customize tab in the Chart editor, then click Chart axis & titles

Chart editor, Customize tab. Chart & axis titles option highlighted.

Step 5: If you want to add a chart title, make sure that the drop-down box displays the option Chart title. On the text box below the drop-down box, type the title of the chart. 

Chart & axis titles option. Chart title selected. Title text: Annual Sales 2020.

Step 6: Here are some options for modifying the title of the chart:

  • To change the font of the title, click the drop-down box below the label Title font. There are 12 fonts to choose from, such as Arial, Georgia, and Verdana. 
  • To change the size of the title, click the drop-down box below the label Title font size. You can select from size 10 to 36. You can also specify a value beyond the given options. Lastly, you can choose Auto to let Google Sheets adjust the font size fit for the given chart.
  • To center align the title, go to Title format, then click the Alignment option. Click the Center option. 

We now have the following chart!

Line chart with title and axis labels

Click here to learn how to add the title or axis labels, as well as how to change the colors.

How to create a smooth line chart

The difference between a line chart and a smooth line chart is mainly a question of aesthetic preference. A line chart connects each point with a straight line, while a smooth line chart uses a curve to estimate the general trend of the data.

Before you follow the steps, make sure that your data contains the breakdown of the values of the components.

Step 1: Select the range of data that you want to visualize.

The dataset to be visualized, selected

Step 2: Click Insert, then click Chart.

Insert option selected on the main menu, drop down box, Chart highlighted

Step 3: The selected chart type is not a smooth line chart by default. On the right side, the Chart editor sidebar is loaded. Click the drop-down box below the Chart type. A list of possible chart types will be loaded. Look for the Smooth line chart and click it. 

Chart editor, Setup tab, Chart type, Smooth line chart selected

Step 4: We now have a smooth line chart. To add a title to the chart, go to the Customize tab in the Chart editor, then click Chart axis & titles

Chart editor, Customize tab. Chart & axis titles option highlighted.

Step 5: If you want to add a chart title, make sure that the drop-down box displays the option Chart title. On the text box below the drop-down box, type the title of the chart. 

Chart & axis titles option. Chart title selected. Title text: Annual Sales 2016-2020.

Step 6: Here are some options for modifying the title of the chart: 

  • To change the font of the title, click the drop-down box below the label Title font. There are 12 fonts to choose from such as Arial, Georgia, and Verdana. 
  • To change the size of the title, click the drop-down box below the label Title font size. You can select from a range of 10 to 36. You can also specify a value beyond the given options. Lastly, you can choose Auto to let Google Sheets adjust the font size fit for the given chart.
  • To center align the title, go to Title format and click the Alignment option. Then click the Center option. 

We now have the following chart!

Smooth line chart with title and axis labels

Click here to learn how to add the title, axis labels, or change the colors.

How to create a combo chart

Google Sheets offers a combo chart as a combination of a column chart and a line chart. You can use a combo chart to present two different sets of data together. The first row of data becomes the column chart, while the rest of the rows become part of the line chart. 

Step 1: Select the range of data that you want to visualize.

The dataset to be visualized, selected

Step 2: Click Insert, then click Chart.

Insert option selected on the main menu, drop down box, Chart highlighted

Step 3: The selected chart type is not a combo chart by default. On the right side, the Chart editor sidebar is loaded. Click the drop-down box below the Chart type. A list of possible chart types will be loaded. Look for the Combo chart and click it. 

Chart editor, Setup tab, Chart type, Combo chart selected

Step 4: We now have a combo chart. To add a title to the chart, go to the Customize tab in the Chart editor, then click Chart axis & titles

Chart editor, Customize tab. Chart & axis titles option highlighted.

Step 5: If you want to add a chart title, make sure that the drop-down box displays the option Chart title. On the text box below the drop-down box, type the title of the chart. 

Chart & axis titles option. Chart title selected. Title text: Annual Sales 2020.

Step 6: Here are some options in modifying the title of the chart: 

  • To change the font of the title, click the drop-down box below the label Title font. There are 12 fonts to choose from such as Arial, Georgia, and Verdana. 
  • To change the size of the title, click the drop-down box below the label Title font size. You can select from a range of 10 to 36. You can also specify a value beyond the given options. Lastly, you can choose Auto to let Google Sheets adjust the font size fit for the given chart.
  • To center align the title, go to Title format and click the Alignment option. Click the Center option. 

We now have the following chart!

Combo chart with title and axis labels

Click here to learn how to add the title, axis labels, or change the colors.

A sample sheet to check

If you got a bit lost, or just want to check if you’re doing it right, here is a sample sheet that you can open to see how they work:

Line Chart Sample Sheet 

Automate repetitive tasks with Lido

Save hours on repetitive and tedious work. Lido is a new spreadsheet that connects your spreadsheets, forms, PDFs, and email inbox.

Trigger
Action
Select trigger
When a cell value in Google Sheets changes
Check Google Sheets for today's date
When a new row is added to Google Sheets
On new Google Form submission
Send me a daily reminder
On new Typeform submission
When a cell value in database changes
Check database for today's date
When a new row is added in database
When a new HubSpot customer is created
Select action
ADDCALENDAREVENT
Creates a one- or multiple-day calendar event with optional attendees
ADDHUBSPOT
Adds an object to Hubspot
ADDSLACKCHANNEL
Create a Slack channel, and optionally add a topic or members
CALLURL
Makes any HTTP request
CREATEGOOGLEDOC
Replaces [@column_name] values in a Google Doc with the corresponding table row's values
CREATEPDF
Replaces [@column_name] values in a Google Doc with the corresponding table row's values, then export it as a PDF
FETCH
Makes any HTTP request and returns the response
INSERTROWS
Inserts given array below defined values in given worksheet
SENDGMAIL
Sends an email using your Google account
SENDOUTLOOK
Sends an email using your Microsoft Outlook account
SENDSLACK
Sends a Slack message
SENDSMS
Sends an SMS message using your Twilio account
UPDATECELL
Updates cells with given values
UPDATEHUBSPOT
Updates a property of a Hubspot object
Trigger is required
Action is required
Get started