New feature: embed archived versions of our interactive charts in your website
Learn more about different options for embedding our interactive charts.
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:
- click the “Share” button at the bottom of the chart
- click “Embed”
- copy the iframe code for either “Chart with data updates” or “Archived chart without data updates”1
- paste it into any HTML page
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®ion=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:
- Luxembourg Income Study (LIS) Cross-national Data Center
- 80,000 Hours page on risks from artificial intelligence
- Earth.org page on air pollution
- CORE Econ open-access economics textbooks
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:
- will likely change in the future; for example, when we update to the latest available data from the source, or make small changes to the text to reflect changes in the data or to improve clarity
- may change significantly; for example, we might feel it’s best to change the dataset to a different source, or remove historical data points
- in rare cases may be deleted; for example, if we decide that the data quality is no longer up to our standards and there isn’t an alternative data source.
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:
- will always show the exact data, text, and other content as it does on the day of embedding; it is frozen in time
- will not be deleted
- may contain outdated data that has since been updated in the live version of the chart, or data that has since been found to contain quality issues
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
An iframe (inline frame) is used to display a website within another website; w3schools has more information on iframes.
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.