How to share or embed a Google Sheets chart that updates instantly (no need to wait for 5 minutes)

How to share or embed a Google Sheets chart that updates instantly (no need to wait for 5 minutes)

You probably know that you can share or embed a chart in Google Sheets by “Publishing” it, after which it will update automatically when the data range is changed.

This works well in most cases, but the problem is that the chart will only be updated once every 5 minutes. What if you want your shared or embedded charts to update instantly when you make data changes?

Below I explain how to do this. The solution is super straight forward and does not have anything to do with publishing a chart. It is important to keep in mind that, with this solution, if you want to share your chart publicly, your sheet that contain the chart will also be public.

Let’s start…


Step 1 — Copy & change the link in the browser url bar

Go to the sheet/tab with the chart you want to share or embed and copy the the link in the browser url bar.

Copy the url from the sheet where your chart is

Here’s an example link I copied:

This link will share the whole sheet but obviously you don’t want to do that; you want to share a specific chart.

So let’s do that by pasting your link into a text editor where you can change it.

  1. Replace the “edit#” part in the url with: htmlembed/sheet?
  2. Next, get the cell number where your chart is and add it in the following format to the end of the url: &range=F2
    If you don’t know what the cell number for your chart is, just cut and paste the chart in any cell. That will be the cell you’ll use. My chart is at F2 as you can see.

Your url should now look something like this and will be a dynamic chart that updates instantly when you make changes:

If you want your chart to be publicly visible, you’ll have to change the sharing preferences.

Step 2 — Change your sharing preferences

To change the sharing preferences, click on the Share button in the top right corner of Google Sheets.

Click on the Share button to change your sharing preferences

In the pop-up modal, click on the “Advanced” link, then “Change” to set who will have access to your chart, and then “On — Public on the web” option to make it public.

Change your sharing preferences accordingly

Step 3 — Share or embed the url

You now have a url you can share or embed in an iframe that will instantly update when you change your data ranges.

Go on and try it yourself.

  1. Paste your url in a new browser bar
  2. Change your data range.
  3. Refresh the chart url and see how it updates instantly.



Here’s how to share or embed a Google Sheets chart publicly and make it update instantly when you change data ranges:

  1. Copy the url from the browser bar and change the url as above
  2. Set your sharing preferences
  3. Share or embed the ur

• • •