Gdoc/Admin

New feature: embed archived versions of our interactive charts in your website

Learn more about different options for embedding our interactive charts.

Reuse our work freely

We’re very excited to announce that you can now embed archived versions of our interactive charts in your website.

It’s already been possible to embed live versions that get updated whenever we update the chart on our site; for example, when we add new data.

The new archived versions, in contrast, will never change or update, offering you more control over how our charts appear on your site.

Many of our users are happy that their embedded charts stay updated with the latest data. But we’ve heard from others that they’d prefer to have an option where the chart didn’t change; for instance, when referring to specific data points in an article.

Now you can choose one or the other depending on what’s best for you.

In this article, we describe how to embed both archived and live versions of our charts and how to choose between the two options.

How to embed our charts

To embed one of our interactive charts, simply:

For example, to embed our map on the universal right to vote, the iframe code for the archived embed is:

<iframe src="https://archive.ourworldindata.org/20250626-192628/grapher/universal-suffrage-lexical.html" loading="lazy" style="width: 100%; height: 600px; border: 0px none;" allow="web-share; clipboard-write"></iframe>

The iframe code (and URL) will adapt to your selections. For example, if you configure the map to zoom in on Europe in 1925, the iframe code becomes:

<iframe src="https://archive.ourworldindata.org/20250626-192628/grapher/universal-suffrage-lexical.html?time=1925&region=Europe&globe=1&globeRotation=55%2C10&globeZoom=2.95" loading="lazy" style="width: 100%; height: 600px; border: 0px none;" allow="web-share; clipboard-write"></iframe>

This applies to other selections you might make, such as looking at the line chart instead of the map view.

Here are a few examples of websites that embed our charts so you can see what this looks like:

How to choose between live or archived embeds

Here are some points to consider when choosing between embedding a “chart with data updates” and an “archived chart without data updates”.

Chart with data updates

Choose this option if you always want to show the latest data for a chart; for example, for dashboards on a given topic. Keep in mind you’ll be embedding a chart that:

Archived chart without data updates

Choose this option if you want to refer to specific data points or trends in a stable way; for example, in the context of an article or online exam. Keep in mind you’ll be embedding a chart that:

More stable citations with archived charts

Our citation instructions now point to archived versions of charts, to ensure that any data points you are referring to in the cited chart remain stable and unchanged.

In the citation instructions there is also a link to view and browse the archived versions of a chart on our site, as you can see in this video.

Built in response to user feedback

We built this feature in response to feedback from users like you.

What do you think about our new archived charts and embeds?

Let us know by filling out our feedback form or emailing us at info@ourworldindata.org. We love to hear feedback and always consider it when deciding the direction of our work.

Endnotes

  1. An iframe (inline frame) is used to display a website within another website; w3schools has more information on iframes.

Our World in Data logo

Reuse this work freely

All visualizations, data, and code produced by Our World in Data are completely open access under the Creative Commons BY license. You have the permission to use, distribute, and reproduce these in any medium, provided the source and authors are credited.

The data produced by third parties and made available by Our World in Data is subject to the license terms from the original third-party authors. We will always indicate the original source of the data in our documentation, so you should always check the license of any such third-party data before use and redistribution.

All of our charts can be embedded in any site.