Share and Embed a Chart

Make your chart public, copy a link or embed iframe, protect it with a password, restrict it to specific domains, and export it.

This guide covers every way to share a chart in ChartBrick: public link, embed iframe, password protection, domain whitelisting, and one-off exports.

1

Open the Publish & share dialog

Open any chart and click the Publish button in the chart header. The Publish & share dialog opens with every option in one place.

The same dialog is available on dashboards — most of the options below apply to both.

2

Publish the chart to the web

By default a chart isn't public — until you publish it, the public link and embeds won't work. The dialog opens on a short prompt: "Publish to share via link or embed on your website."

Click Publish to web. ChartBrick generates a public URL that anyone with the link can open, no account required.

If you unpublish the chart later, the public link and any embeds stop working immediately. Use the Unpublish button at the top of the dialog — you'll be asked to confirm.

3

Copy the public link or embed code

Once the chart is published, the dialog shows two things you can copy:

  • Public link — a URL like https://chartbrick.com/embed/chart/CHART_ID. Use the copy button next to it, then paste it anywhere — Slack, email, a doc, social. There's also a button to open it in a new tab, and quick share buttons for LinkedIn, X, WhatsApp, Telegram, Reddit, and email.
  • Embed — a full <iframe> tag you can paste into a website, Notion page, blog post, or any HTML editor. It defaults to 100% width and a fixed height (400px for charts, 800px for dashboards).

The iframe is responsive in width — it fills its container. Height is set by the height attribute in the snippet; adjust that value (and the styles) directly if you need a different size.

4

Pick a color scheme

Open the Appearance & protection section, then use the Color scheme control to choose how the published chart renders:

  • Auto — follows the visitor's system preference (light or dark). Best default for embeds that live in pages that already support dark mode.
  • Light — always light, regardless of the visitor's setting.
  • Dark — always dark.

This is independent from the color scheme you use when editing the chart.

5

Lock with a password or allowed domains

In the same Appearance & protection section, the Protection options keep a published chart from being fully open on the internet:

  • Password protection — turn it on and set a password (minimum 8 characters). Visitors see a password prompt before the chart loads. Share the password through a separate channel.
  • Domain restriction — turn it on and list the Allowed domains that can embed the chart (e.g. acme.com, client.example.org). The iframe refuses to render on any other origin.

Both can be combined, and they take effect immediately — no need to regenerate the link.

6

Export as PNG or CSV

For one-off use (slides, PDFs, reports), use the export buttons in the same dialog:

  • Download PNG — a rendered image of the chart. Good for presentations and static reports. (Available for most chart types; not for table charts.)
  • Download CSV — exports the chart's underlying dataset as CSV.

For dashboards, Download PDF assembles every chart into a single PDF.

What's next?

Turn your data into charts now

Free plan available — no credit card required