Embed a Chart in Google Sites
Add a live chart to a Google Sites page, intranet or class site
Google Sites is a common choice for team intranets, school and class sites, and project pages. InstaCharts connects to Google Sheets and Google Drive, so a chart embedded in Google Sites stays current as the sheet behind it changes.
- Live and interactive
- Updates when your data changes
- Free plan available
Employee Turnover by Department
Live
A live grouped line chart embedded with InstaCharts, the kind of chart you can add to Google Sites. Hover over the chart to see each value.
Open TemplateAt a glance
What you need to embed a chart in Google Sites
An InstaCharts chart shared publicly, its Iframe Only Embed Tag, and a Embed code box on your Google Sites page.
Code to copy
Iframe Only Embed Tag
Where it goes in Google Sites
Embed code box
Updates
Automatic when the chart or its data changes
About Google Sites
What is Google Sites?
Google Sites is a free website builder from Google and part of Google Workspace. It builds simple sites with drag and drop and connects to Google Docs, Sheets, Slides and Drive, which makes it a common choice for team intranets, school and class sites, and project pages.
Visit sites.google.comChart ideas
Charts that work well in Google Sites
Start from a template with sample data, then replace the rows with your own numbers and embed the chart in Google Sites.
HR intranet
Share employee turnover by department on an internal people page.
See the grouped line chart templateDepartment budgets
Show how each department's budget splits by expense type on a finance page.
See the horizontal stacked bar chart templateClub and volunteer hours
Track hours by program on a school, club or volunteer site.
See the stacked bar chart templateIn InstaCharts
Make the chart and copy its embed code
Step 1
Add your data
Upload a CSV or Excel file, paste a table, import a file from a web link or connect a Google Sheet. InstaCharts reads your columns and suggests a chart.
To add a new sheet, launch the Add New Sheet dialog. There's a few ways to import your data, the easiest is Blank Sheet. In the empty spreadsheet on the Blank Sheet page, paste in your data straight from Excel. Click Next to see a data preview, then click Import. InstaCharts then draws a chart from the data automatically.
Step 2
Pick and style the chart
Choose the chart type and the columns for each axis, then set the title, colors and labels. Charts made from a synced Google Sheet or web link keep updating.
Easily change the shape of the chart using the Chart Type dropdown. Here, we are changing from a bar chart to a pie chart. Use the right click menu to show data labels on the pie chart, and to hide the legend. Finally we will change the chart theme and color scheme to get our chart to match our website.
Step 3
Share it and copy the Iframe Only Embed Tag
Click Share on the toolbar, choose Share Chart and set the share mode to Public. Under Embed in a webpage, choose Iframe Only next to Embed Tag and copy the code.

In Google Sites
Add the chart to Google Sites
Paste the Iframe Only Embed Tag into a Embed code box.
- 4
Step 4
Open the Embed dialog
Open the page in Google Sites and click Embed in the Insert panel on the right.
- 5
Step 5
Paste the Embed Tag
Choose the Embed code tab, paste the Iframe Only Embed Tag from InstaCharts and click Next, then Insert.
- 6
Step 6
Size the box and publish
Drag the handles of the embed box to fit the chart, then click Publish.
What the Iframe Only Embed Tag looks like
Copy your own code from the Share dialog. YOUR_CHART_ID stands for the id InstaCharts gives your chart.
<iframe src='https://instacharts.io/app/embeds/YOUR_CHART_ID' title="Quarterly Revenue" width="600px" height="600px" style="border-radius:6px; border: 1px solid rgba(0, 0, 0, 0.1); background:#ffffff;" frameborder="0"></iframe>Tips
Tips for charts in Google Sites
- Google Sites places embed code in a frame of its own, so the box you draw decides the chart's size. Use the Iframe Only Embed Tag and drag the box to fit.
- Charts made from a Google Sheet with sync turned on update on the site as the sheet changes.
- Add a text box below the chart with a short description of what it shows, since a caption inside the embed frame stays apart from the page text.
FAQ
Embedding charts in Google Sites: FAQ
Answers to common questions about adding InstaCharts charts to Google Sites.
Why use InstaCharts in Google Sites when Sites can insert Google Sheets charts?
InstaCharts adds chart types such as heatmaps, mekko, radar and gauge charts, data table views, an export button for readers and view analytics. The same chart can also be embedded on sites outside Google.
Who can see the chart on my Google Site?
Anyone who can view the page sees the chart, since the chart is shared publicly. Anyone with the chart's link can also open it directly.
Does an embedded chart update when my data changes?
Yes. The embed loads the chart from InstaCharts each time the page opens, so changes to the chart and new data from a synced Google Sheet, a web link or Zapier show up with no new embed code.
Is it free to embed a chart?
Yes. The free plan includes 200 share and embed views a month, and free charts show an InstaCharts watermark. Paid plans remove the watermark and raise the limit to 1,000 views a month on Starter and 100,000 on Pro.
Can I embed a data table or a dashboard?
Yes. Turn on Full Dataset or Plotted Data in the Settings tab of the Share dialog to add sortable table views to the chart embed. Dashboards have their own Share dialog with an Embed URL and Embed Tag.
Can I see where my chart is embedded?
Yes, on paid plans. The Analytics tab of the Share dialog counts embed views apart from share link views and lists the top pages that load the chart.
Want the full reference?
Read the embed charts documentation for sizing, the embed toolbar, SEO options and domain whitelisting.
Explore
Embed a chart on another platform
Step by step guides for every website builder and app InstaCharts covers.
- Embed a Chart in Notion
- Embed a Chart in WordPress
- Embed a Chart in Webflow
- Embed a Chart in Wix
- Embed a Chart in Squarespace
- Embed a Chart in Ghost
- Embed a Chart in Shopify
- Embed a Chart in Bubble
- Embed a Chart in Framer
See which embed code each platform needs on the embed a chart page.
Make a chart for your Google Sites page
InstaCharts makes data visualization easy, so you can build clear reports without design experience.