Sub topic 11
Moving, sharing, downloading, and publishing charts
This chapter assumes you can insert a chart, open the chart editor, and select a data range. It covers what happens to a chart after you build it: where it lives, how others see it, and how to get it into other documents.
Where a chart lives
A chart in Google Sheets is an object that floats above the grid. It reads from a data range, but it is not stored in any cell. You can place it in one of two ways:
- On a sheet, over the grid. This is the default. The chart covers cells, and you can drag it anywhere on the sheet.
- On its own sheet. The chart fills a dedicated tab with no grid around it.
Moving and resizing a chart on a sheet
- Click the chart once to select it.
- Drag it by its body to move it. Drag a corner handle to resize it.
- Hold Shift while dragging a handle if you want to change size while keeping the proportions.
A chart does not shift when you insert or delete rows beneath it. It stays at a fixed position on the sheet. If you hide or delete the rows it covers, it can end up over different data than you intended. Check its position after restructuring a sheet.
Moving a chart to its own sheet
- Select the chart.
- Open the three-dot menu in the top-right corner of the chart.
- Choose Move to own sheet.
Sheets creates a new tab named "Chart1" (or the next free number) and places the chart there. To reverse this, open the chart's menu again and choose Move to this sheet, then pick the destination.
Use a dedicated chart sheet when a chart is the main deliverable and you want it printed or shown full-size. Keep the chart on the data sheet when readers need to see the numbers beside it.
Copying a chart
The same three-dot menu has Copy chart. Paste it with Ctrl+V (Cmd+V on Mac) on another sheet in the same spreadsheet, or in a different spreadsheet. A pasted chart keeps its formatting. Its data range depends on where you paste it:
| Paste target | Data range the pasted chart uses |
|---|---|
| Same spreadsheet, any sheet | The original range, on the original sheet |
| A different spreadsheet | A link back to the source spreadsheet, shown in the chart editor |
If the copy points at the original data, editing the source changes both charts. To chart different data, open the editor on the copy and change its range.
Sharing a chart with collaborators
A chart inside a spreadsheet follows that spreadsheet's sharing settings. Anyone who can open the file sees the chart. What they can do with it depends on their role:
| Role | Can view chart | Can edit chart | Can change underlying data |
|---|---|---|---|
| Viewer | Yes | No | No |
| Commenter | Yes | No | No |
| Editor | Yes | Yes | Yes |
Two points matter in practice:
- A viewer can still read the data. Sharing a spreadsheet to show a chart also exposes the sheet tabs and cells behind it. If the data is sensitive, share a separate file that contains only the summary, or use one of the export methods below.
- Protected ranges do not hide data. Protecting a range stops edits. It does not stop a viewer reading the values.
To limit what readers can reach, build a summary sheet with the figures the chart needs. Then copy the chart into a new spreadsheet that holds only that sheet.
Downloading a chart as an image or PDF
Open the three-dot menu on the chart and choose Download. The options are:
- Image (.png): a raster image, good for slides, emails and web pages.
- PDF document (.pdf): a single-page file that holds the chart.
- Scalable Vector Graphics (.svg): a vector file that stays sharp at any size and can be edited in a design tool.
A downloaded file is a snapshot. It does not update when the data changes. If the numbers change, download the chart again.
The PNG uses the chart's current on-screen size, so resize the chart before you download it. A small chart gives a small, blurry image when stretched in a slide. Make the chart large first, then download.
Choosing a format
| Format | Best for | Limitation |
|---|---|---|
| PNG | Slides, chat messages, documents | Loses sharpness if enlarged |
| SVG | Print, posters, further editing | Some programs render fonts differently |
| Archiving, attaching to an email | Not easy to edit |
Putting a chart in Docs and Slides
You can place a chart in a Google Doc or Google Slides presentation and keep a link to the spreadsheet.
- Copy the chart, or open the Doc or Slides file and go to Insert > Chart > From Sheets.
- Pick the spreadsheet, then choose the chart.
- Choose whether to Link to spreadsheet.
The link setting changes how the chart behaves:
- Linked. The chart shows an Update button when the source data changes. Click it to refresh the chart. The chart does not refresh on its own, which stops a finished report changing without notice.
- Not linked. The chart is an image that never updates.
Anyone who opens a linked chart's source needs access to the spreadsheet. A reader who lacks access still sees the chart as last updated, but cannot open the data.
Publishing a chart to the web
Publishing creates a public copy of the chart that anyone with the link can see, with no Google sign-in. It is the right choice for a web page or blog.
- Open the three-dot menu on the chart and choose Publish chart.
- In the dialog, pick Link or Embed.
- Pick Interactive or Image.
- Click Publish, then copy the link or code.
Interactive or image
- Interactive: the visitor can hover over points to see values. The chart updates after the source data changes.
- Image: a static picture. It also updates when the source changes, but offers no hover.
For both formats, the published version refreshes on its own. This can take a few minutes after you edit the data.
Link or embed
A link opens the chart on its own page. Embed gives you an iframe snippet to paste into a web page. For example:
<iframe width="600" height="371" seamless frameborder="0" scrolling="no"
src="https://docs.google.com/spreadsheets/d/e/EXAMPLE_ID/pubchart?oid=123456789&format=interactive"></iframe>Replace the source value with the one Sheets gives you. The width and height attributes control how much space the chart takes on your page.
Stopping publication
Published charts stay public until you remove them. To stop:
- Open File > Share > Publish to web.
- Find the chart in the list of published content.
- Click Stop publishing.
After you stop, the link no longer works. Pages that embed the chart show an error.
Common problems
- The pasted chart in Docs is out of date. The chart is linked but has not been refreshed. Click Update on the chart.
- The downloaded image looks blurry. The chart was small when you downloaded it. Enlarge the chart, or use SVG.
- A reader sees "chart cannot be displayed". The reader lacks access to the source spreadsheet, or you stopped publication. Check the sharing settings and the publish list.
- A copied chart changes when you edit the original. Both charts read the same range. Change the range on the copy.
- A chart covers cells you need to read. Move it, or put it on its own sheet.
Exercise
You built a sales chart and need it on a company web page that updates as the figures change. The spreadsheet holds confidential salary data on other sheets that must not become public. Which method do you use, and what do you check before using it?
Show answer
Use Publish chart with the Embed option, and choose Interactive or Image. Publishing only exposes the chosen chart, not the other sheets. Before you publish, confirm that the chart's own data range contains no confidential figures, because the published chart shows what it plots. Then check File > Share > Publish to web to confirm only the intended chart is listed. A downloaded PNG would be safe but would not update.
Exercise
You inserted a linked chart into a Slides deck last month. The source data has changed, but the slide still shows the old numbers. Why, and what is the fix?
Show answer
A linked chart in Docs or Slides does not refresh by itself. Click the chart in the deck and use the Update button that appears. If the button is missing, the chart was inserted without the link, so you must insert it again with Link to spreadsheet selected.