Tags
canva, Google Chart, infogram, Kumu, StoryMapJS, Tableau, TimelineJS
Source: Wiki Commons
There are a lot “one-click” tools available online that help you to create good visualisation and export to iframe for embedding into your site. Good use of those tools can better present your content to the readers. Note that the free version of WordPress hosted service does not allow embedding iframe, so they can only rely on shortcodes. For example, one can use is to embed interactive charts generated from Google Sheets. See more options of available shortcodes for free version here
Data and News Society is operated on a paid plan so we installed the iframe plugin. This makes it possible to enable a wide range of 3rd party visualisation into your project. This tutorial is contributed by Jade Li to demo how to embed interactive content from several common tools. The general workflow is to first export the 3rd party project as iframe, find the URL in the src=”” section, and use [ iframe src=”” ] to embed it into WordPress.
Google Chart (use shortcode)
Code
Result
DataWrapper
Original URL: [Link]
Code
Result
ArcGIS StoryMap/ KnightLab StoryMap.js
Code
Result
[iframe src=”https://storymap.knightlab.com/examples/bosch-garden/”%5D
TimelineJS
Code

Result
[iframe src=”https://timeline.knightlab.com/examples/republican/index.html”%5D
Kumu
Code

Result
[iframe src=”https://embed.kumu.io/7ba1a81e36ab0b940a808a293369b892″%5D
Canva
Code

Infogram/Piktochart
Original URL: [Link]
Code
Result
[iframe src=”https://infogram.com/transgender-1h0n25zgrzoe2pe”%5D
Tableau Public
Code

Note:
If you directly paste the link above after “src=”, you can only embed a view of whole web page. What if we want to just paste the chart view? Here are the steps:
- copy and paste the link from the share button https://public.tableau.com/shared/JWS442STS?:display_count=yes
- noticed that there’s a question mark”?” in the middle of this link.
- delete the part after the question mark, then the original link turns to be like https://public.tableau.com/shared/JWS442STS?
- add “:showVizHome=no&:embed=true” behind the question mark. Original link turns to be like https://public.tableau.com/shared/JWS442STS?:showVizHome=no&:embed=true
- then add the link above into the iframe coding form.
Result
[iframe src=”https://public.tableau.com/shared/JWS442STS?:showVizHome=no&:embed=true”]
Google Chart itself is not responsive. It has a fixed width x height no matter what is the size of the iframe. It was developed long before the notion of responsiveness became the mainstream. You may want to try other charting platforms that export to responsive charts.
LikeLike
Added one example for https://www.datawrapper.de/
LikeLike