You can create a graph in Google Docs by inserting a chart from Google Sheets, or by using the built-in chart tool
Google Docs does not have a native graphing tool of its own, but it offers two straightforward paths. The fastest route is to insert a chart directly into your document using the Chart tool, which lets you build a straightforward graph without leaving Docs. The more powerful route is to create your chart in Google Sheets, then embed it in your document — this gives you more chart types and better control over data.
Both methods produce a graph you can edit later. The choice depends on how much control you need and whether you already have data in a spreadsheet. For most documents with straightforward bar charts, pie charts, or line graphs, the built-in Chart tool is enough.
Key Takeaways
- The Chart tool in Google Docs lets you create a basic graph without opening another program, and you can edit the data directly in the chart settings.
- Google Sheets charts offer more options and chart types, and they update automatically if you change the data in the spreadsheet.
- To insert a chart from Sheets, you create it in Sheets first, then use Insert > Chart in Docs to embed it.
- Any graph you insert can be edited, resized, or deleted from your document at any time.
Creating a chart using Google Docs' built-in Chart tool
Open your Google Doc and place your cursor where you want the graph to appear. Click Insert in the menu bar, then scroll down and click Chart. A dialog box will open showing chart type options — bar, column, line, pie, and a few others. Select the chart type that matches your data.
Google Docs will insert a sample chart with placeholder data. A sidebar will open on the right side showing the chart editor. In the Data tab, you will see a table with sample numbers. Click into any cell and replace the text or numbers with your own data. Add or remove rows by clicking the plus and minus buttons at the bottom of the table. The chart updates as you type, so you can see your graph take shape in real time.
Once your data is entered, move to the Customize tab to change the title, axis labels, colors, and legend position. Type a title for your chart in the Chart & axis titles section. You can also change the background color, font size, and whether the legend appears. When you are satisfied, click outside the chart or press Escape to close the editor and place the chart in your document.
Embedding a chart from Google Sheets
If you have data already in a Google Sheet, or if you need more chart types than Docs offers, create your chart in Sheets first. Open your spreadsheet, select the data you want to graph (including headers), then click Insert and select Chart. The Sheets chart editor will open with more options than Docs provides — scatter plots, histograms, area charts, and others. Customize your chart in the editor, then click Insert to add it to your sheet.
Now go to your Google Doc. Click Insert, then Chart, then From Sheets. A dialog will ask you to select which spreadsheet and which chart. Find your file and click on the chart you just created. Click Insert, and the chart will appear in your document. This chart is linked to your spreadsheet — if you change the data in Sheets, the chart in Docs updates automatically.
To edit a Sheets chart that is embedded in Docs, double-click it. A menu will appear with an option to Open source. Click that, and it will take you to the chart editor in Sheets. Make your changes there, and they will reflect in your document.
Resizing and positioning your graph
Once a chart is in your document, click it once to select it. Small blue handles will appear at the corners and edges. Drag any corner handle to resize the chart while keeping its proportions. Drag an edge handle to stretch it in one direction only. The chart will reflow to fit the new size.
To move the chart, click and drag it to a new location in your document. Text will wrap around it automatically, or you can right-click the chart and choose Wrap text to change how it sits on the page. You can also center it by selecting the chart and using the alignment buttons in the toolbar.
Editing data after you insert the chart
Click the chart once to select it, then click the three-dot menu that appears in the top right corner. Select Edit chart to reopen the chart editor. You can now change the data, chart type, title, colors, or any other setting. The changes take effect when ready in your document.
If you embedded a chart from Sheets and want to change the underlying data, you have two options. You can edit the chart itself by clicking the three-dot menu and selecting Edit chart, or you can go directly to the spreadsheet by clicking Open source. Editing in Sheets is better if you have a lot of data to change, because you can see the full spreadsheet and make bulk edits.
Choosing between Docs charts and Sheets charts
Use the built-in Docs chart tool when you have a small amount of data, you do not plan to update it often, and you want to work entirely within your document. This is the faster path and requires no extra steps.
Use a Sheets chart when you have a large dataset, you plan to update the data regularly, you need a chart type that Docs does not offer (like a scatter plot or histogram), or you want the chart to update automatically when the spreadsheet changes. Sheets charts also give you more customization options and better control over how data is grouped and displayed.
Troubleshooting common graph problems
If your chart shows the wrong data or looks blank, check that you entered your data correctly in the data table. Make sure headers are in the first row and that numbers are not formatted as text. If a Sheets chart is not updating in Docs, try refreshing the page or closing and reopening the document.
If you cannot find the Chart option in the Insert menu, you may be using an older version of Google Docs or a browser that does not fully support it. Try using Chrome or a recent version of Firefox or Safari. If the chart is too small to read, resize it by dragging the corner handles. You can also increase the font size in the Customize tab of the chart editor.
Frequently Asked Questions
Can I insert a chart from Microsoft Excel or another program?
You cannot directly insert an Excel chart into Docs. You can copy data from Excel, paste it into a Google Sheet, create a chart there, then embed it in Docs. Alternatively, you can take a screenshot of an Excel chart and insert it as an image, but that chart will not be editable in Docs.
What happens if I delete a chart from my document?
Deleting a chart from Docs does not delete the data or the chart in Sheets. If you embedded a Sheets chart, the original chart remains in your spreadsheet. You can always re-insert it. If you created the chart using the Docs tool, the data is lost when you delete it, so copy it somewhere else first if you think you might need it again.
Can multiple people edit a chart at the same time?
Yes, if the chart is in a shared Google Doc or a shared Google Sheet. Changes appear for all editors in real time. If you embedded a Sheets chart, edits to the data in Sheets will show up in Docs for everyone viewing the document.
How do I change the chart type after I insert it?
Click the chart, then click the three-dot menu and select Edit chart. In the chart editor, click the Chart type dropdown at the top and choose a different type. Your data will rearrange to fit the new chart format. Click outside the editor to save the change.
Can I add a chart to a Google Doc on my phone?
The mobile version of Google Docs does not have the Chart tool. You can view and edit existing charts, but you cannot insert a new one from your phone. Use a computer or tablet to create charts, then view them on mobile.