How to Create a Line Graph in Google Sheets

Gregory Jul 09, 2026

Creating a line graph in Google Sheets is an excellent way to visualize data trends and patterns. This step-by-step guide will walk you through the process, ensuring you create an informative and engaging line graph to communicate your data effectively.

How to Create a Line Graph in Google Sheets
How to Create a Line Graph in Google Sheets

Before we dive into the process, make sure you have Google Sheets open and your data ready. For this tutorial, let's assume you have a dataset with columns for 'Date' and 'Sales' in cells A1:B100.

How to Make a Line Graph in Google Sheets
How to Make a Line Graph in Google Sheets

Preparing Your Data

Before creating the graph, ensure your data is clean and organized. Remove any blank rows or columns, and sort your data if necessary. For this example, we'll use the data in columns A and B, with 'Date' in column A and 'Sales' in column B.

Creating a Line Graph in Google Sheets
Creating a Line Graph in Google Sheets

To sort your data by date, select cells A1:B100, click on 'Data' in the menu, then 'Sort A → Z' or 'Sort Z → A' depending on your desired order.

Creating the Line Graph

the timesheet in google's search results for different places to go on vacation
the timesheet in google's search results for different places to go on vacation

Now that your data is ready, it's time to create the line graph. Follow these steps:

Selecting Your Data

Select the data you want to plot on the graph. In our case, select cells A1:B100. This includes both the 'Date' and 'Sales' columns.

How to Make a Line Graph in Excel
How to Make a Line Graph in Excel

To select non-adjacent columns, hold down the 'Ctrl' key (or 'Command' on Mac) while clicking the column headers.

Inserting the Chart

With your data selected, click on the 'Insert' tab in the menu. Then, click on the 'Chart' icon. A side panel will appear with various chart types.

Client Challenge
Client Challenge

For a line graph, select the 'Line chart' option. Google Sheets will automatically generate a basic line chart using your selected data.

Customizing Your Line Graph

Creating a Graph in Google Sheets - Step by step directions
Creating a Graph in Google Sheets - Step by step directions
How to make a stacked line graph in Google Sheets
How to make a stacked line graph in Google Sheets
How to Make a Line Graph in Google Slides
How to Make a Line Graph in Google Slides
How to Create a Graph in Google Sheets
How to Create a Graph in Google Sheets
Teach Your Students to Use Google Sheets to Create Graphs
Teach Your Students to Use Google Sheets to Create Graphs
How to create and customize charts in Google Sheets (Quick version)
How to create and customize charts in Google Sheets (Quick version)
How To Make A Line Graph In Excel-EASY Tutorial
How To Make A Line Graph In Excel-EASY Tutorial
How to Create a Graph in Google Sheets 2025 [New Method]
How to Create a Graph in Google Sheets 2025 [New Method]
an image of a dashboard with graphs on the screen and other items in front of it
an image of a dashboard with graphs on the screen and other items in front of it
How to Create a Histogram in Google Sheets
How to Create a Histogram in Google Sheets
How to make bar graph in google sheets 10 Best Step by Step Guide
How to make bar graph in google sheets 10 Best Step by Step Guide
Create a Bar Graph with Google Sheets
Create a Bar Graph with Google Sheets
How to make a graph or chart in Google Sheets
How to make a graph or chart in Google Sheets
a bar graph with the price list and prices listed for each product in front of it
a bar graph with the price list and prices listed for each product in front of it
Line Graph Worksheets
Line Graph Worksheets
How to Create a Line Graph in Google Sheets
How to Create a Line Graph in Google Sheets
Creating a Graph in Google Sheets - Step by step directions
Creating a Graph in Google Sheets - Step by step directions
the google spreadsheet dashboard is shown in this screenshot
the google spreadsheet dashboard is shown in this screenshot
How to Create a Bar Graph in Google Sheets 2025 [New Method]
How to Create a Bar Graph in Google Sheets 2025 [New Method]

Now that you have a basic line graph, it's time to customize it to fit your needs. Click on the 'Customize' tab in the top-right corner of the chart. Here, you can adjust various aspects of your graph:

  • Chart type: Change the line style, add markers, or modify the line width.
  • Axis: Customize the axis labels, scale, and gridlines.
  • Series: Change the color, line style, or add data labels for each series (in this case, your 'Sales' data).
  • Legend: Show or hide the legend, or customize its position.
  • Title: Add a title to your graph, and customize its font, size, and position.

For this example, let's add a title, change the line color to blue, and show the legend.

Resizing and Positioning Your Graph

To resize your graph, hover over one of the corners until the double-headed arrow appears, then click and drag to resize. To move the graph, click and drag it to your desired location within the sheet.

You can also adjust the size and position of the graph by entering specific pixel values in the 'Size & position' section of the 'Customize' tab.

Congratulations! You've now created a customized line graph in Google Sheets to effectively communicate your data. This final graph will help you and others quickly understand trends and patterns in your sales data.

To share your graph with others, simply click on the 'Share' button in the top-right corner of the sheet. You can also embed the graph in other documents or presentations by clicking on the three vertical dots in the top-right corner of the graph, then selecting 'Copy' and pasting it into the desired location.

Now that you've mastered creating line graphs in Google Sheets, explore other chart types and customization options to make your data visualizations even more engaging and informative. Happy graphing!