Publish a chart to a webpage or blog post
Publishing allows you to make your chart available to the whole world. When you publish your chart, you get HTML code that you can add to a website. Then, anyone who visits the site where you pasted the code can see the chart.
Follow these steps to publish your chart for others to view:
- Click your chart to show its frame.
- Click the chart menu in the upper right of the chart’s frame.
- Select Publish chart.
- You'll see a dialog with an HTML script. Copy this code by selecting Ctrl + C on a PC or Cmd + C on a Mac.
- Paste this script into any HTML page, and you'll see the chart and the data represented in the chart.
Note: When you publish a chart that is on the same sheet as the data represented in the chart, that sheet will be published. When you publish a chart that is on a different sheet than the data represented in the chart, the entire workbook will be published.
Alternatively, you can publish the spreadsheet containing your chart. Learn how to publish a spreadsheet.
Mary is a Docs & Drive expert and author of this help page. Leave her feedback below about the page.