# Embed a chart

> Put a public RelationMap chart on your website, blog or wiki with an iframe pointing at relationmap.io/view/<slug>.

Any public chart saved to the cloud can be embedded on another site. The embed is a live, read-only view of the chart: visitors can drag to pan and zoom in and out, but not edit.

## Get the code

Either way gives the same snippet:

- On the chart's page (`relationmap.io/map/<slug>`), choose **Share**, then copy the **Embed** code.
- In the editor, choose **Export → HTML Embed**. This copies the code; the chart has to be saved to the cloud first.

The snippet:

```html
<iframe src="https://relationmap.io/view/<slug>" width="100%" height="500" style="border:none;border-radius:8px" allowfullscreen></iframe>
```

`<slug>` is the last part of the chart's address, the same as in `relationmap.io/map/<slug>`. Change `height` to fit your page.

## What to expect

- **Public charts only.** Any site can embed a public chart. A private chart can't be shown on other sites.
- **Read-only.** The embed shows the chart as it was last saved. Changes you save later show up in the embed too.
- **A small link back.** On other sites, a "Made with relationmap.io" link sits in the bottom-right corner and opens the chart's page.
- **Not a page of its own.** Opening a `/view/<slug>` address directly in a browser tab sends you to the chart's page, `/map/<slug>`.
- **License.** Charts saved on the free plan are public under CC BY-NC 4.0, which allows sharing with credit for non-commercial use.

---

Web page: https://relationmap.io/docs/embed/ · Updated 2026-11-15 · All docs: https://relationmap.io/llms.txt
