Embedding Datawrapper charts in Observable Framework

By

Observable Framework's Datawrapper API example page, showing a line chart and JavaScript helper code for embedding a Datawrapper chart

I’ve released another nerdy Reuters trick into the wild.

Here’s how you can easily integrate Datawrapper charts into Framework, Observable’s slick new dashboarding tool.

You’ll also see how we use Framework’s innovative “data loaders” to generate and embed fresh charts on the fly.

Notice that we’re loading the charts using “web components,” which results in a much snappier user experience than traditional <iframe> tags.

Everyone publishing with Datawrapper should consider doing this. You can learn more about web component embedding.

en
80