Hub Nexus
Updated

AuthorNo author yetClaim it

See something to improve? Propose a change.

Support

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:

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:

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:

  • 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

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

Where this page came from

This page was imported from Our World in Data. “New feature: embed archived versions of our interactive charts in your website” by Marcel Gerber, Charlie Giattino, published by Our World in Data under CC BY 4.0. Changed here: set as a page, its interactive charts shown as pictures. Data from third parties keeps its own licence.

Nobody has written it yet — it is the source material at a new address, which is why search engines are asked to skip it and why no one earns from it. It is up for grabs: take it on, and it is yours to rewrite and to earn from.

LanguagesEnglish

Licence: CC BY 4.0 · Adapted from ourworldindata.org

1

0

0

0

Spinner Logo

Comments

Spinner Logo
Version: 2CC0 1.0 — public domain
The runaway star that left the Tarantula Nebula
Version: 2CC0 1.0 — public domain
The Blackwell School, where segregation had no law behind it
Version: 2CC0 1.0 — public domain
The Eagle Nebula, seen in the infrared
Version: 2CC0 1.0 — public domain
The house where the Equal Rights Amendment was written
Version: 2CC0 1.0 — public domain
The Aleutians, the forgotten front of the Second World War
Version: 2CC0 1.0 — public domain
The Cosmic Cliffs are not cliffs