InstaCharts logo Wix InstaCharts + Wix

Embed a Chart in Wix

Add a live, interactive chart to your Wix website

Wix sites for small businesses, nonprofits and portfolios often share sales figures, survey results or progress toward a goal. InstaCharts charts go into the Wix Embed HTML element, and they update on the site when the data behind them changes.

  • Live and interactive
  • Updates when your data changes
  • Free plan available

Fundraising Campaign Goals

Live
Fundraising Campaign Goals grouped gauge chart made with InstaCharts

A live grouped gauge chart embedded with InstaCharts, the kind of chart you can add to Wix. Hover over the chart to see each value.

Open Template

At a glance

What you need to embed a chart in Wix

An InstaCharts chart shared publicly, its Embed URL, and a Embed HTML element on your Wix page.

Code to copy

Embed URL

Where it goes in Wix

Embed HTML element

Updates

Automatic when the chart or its data changes

About Wix

What is Wix?

Wix is a website builder and hosting platform from Wix.com, founded in 2006. Its drag and drop editor, templates and built-in apps for stores, bookings and blogs make it a common choice for small businesses, nonprofits, artists and freelancers. The Embed HTML element adds content from other sites to a Wix page.

Visit wix.com

In InstaCharts

Make the chart and copy its embed code

  1. 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.

  2. 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.

  3. Step 3

    Share it and copy the Embed URL

    Click Share on the toolbar, choose Share Chart and set the share mode to Public. Under Embed in a webpage, copy the Embed URL.

    Click Share on the toolbar to open the Share & Templates dialog. Change the pie chart's share mode to Public. Under the Embed in a webpage section, copy the Embed URL, the plain web address for the chart.

In Wix

Add the chart to Wix

Paste the Embed URL into a Embed HTML element.

  1. 4

    Step 4

    Add an Embed HTML element

    In the Wix Editor, click Add Elements, choose Embed Code and select Embed HTML. Wix places an empty box on the page.

  2. 5

    Step 5

    Paste the Embed URL

    Click Enter Code, choose Website Address and paste the Embed URL from InstaCharts, then click Update. To paste HTML instead, choose Code and paste the Iframe Only Embed Tag.

  3. 6

    Step 6

    Size the box

    Drag the corners of the box to the chart's width and height. Wix shows the chart at the size of the box, so leave room for the embed toolbar along the bottom.

What the Embed URL looks like

Copy your own code from the Share dialog. YOUR_CHART_ID stands for the id InstaCharts gives your chart.

https://instacharts.io/app/embeds/YOUR_CHART_ID

Tips

Tips for charts in Wix

  • Wix loads embedded HTML inside a frame of its own, so the box size you set in the editor decides the chart's size on the page.
  • The SEO caption and SEO data options sit inside the Wix frame, where search engines read them apart from your page. Add a Wix text element below the chart with a short description of what it shows.
  • Check the mobile view in the Wix Editor and resize the box there, since Wix keeps a separate layout for phones.

FAQ

Embedding charts in Wix: FAQ

Answers to common questions about adding InstaCharts charts to Wix.

Which embed code works best in Wix?

The Embed URL with the Website Address option. Wix draws the frame around the chart, and you set the size by dragging the box. The Iframe Only Embed Tag also works with the Code option.

Why is my chart cut off in Wix?

The Wix box is smaller than the chart. Drag the box taller or wider until the full chart and embed toolbar show, or turn off Show Embed Toolbar in the Settings tab of the Share dialog to save space.

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.

Related guides

Explore

Embed a chart on another platform

Step by step guides for every website builder and app InstaCharts covers.

See which embed code each platform needs on the embed a chart page.

Make a chart for your Wix page

InstaCharts makes data visualization easy, so you can build clear reports without design experience.