Luccas Mateus 14974edcbf
[examples/openspending] - openspending v0.2 (#907)
* [examples/openspending] - openspending v0.2

* [examples/openspending][m] - fix build

* [examples/openspending][xs] - fix build

* [examples/openspending][xs] - add prebuild step

* [examples/openspending][m] - fix requested by demenech

* [examples/openspending][sm] - remove links + fix bug
2023-05-30 20:22:58 -03:00

1.0 KiB
Raw Blame History

section, lead, title, authors
section lead title authors
help true Embed a visualization into your website
Neil Ashton

You can easily embed any of the visualizations created on OpenSpending on your own website. This means you can have the full interactive displays on your site.

Let's say you have chosen a visualization on the OpenSpending platform. Notice there's an Embed button at the bottom right of the webpage. Click this button and you'll be presented with the code to embed the visualization on your website and some options for the size (in pixels) of the interactive. The rest is just cutting and pasting this code into your site. If you are unsure how to paste the code correctly, contact your site administrator.

The reason it's possible to embed code comes down to widgets. In very simplified terms, a widget is a piece of code you can add into your webpage, and it pulls data in this case, from the OpenSpending database so you don't need to store datasets yourself.

Back to top: OpenSpending Guide

Up: OpenSpending Guide