AI assistants and search tools are increasingly how readers find and digest content. A standard Flourish embed is drawn by a script in the reader's browser. Most AI tools read a page's raw HTML and don't run scripts, so to them an embedded chart is invisible.
AI-friendly embeds fix this. When they apply to your account, every script embed code you copy includes an extra element: a link to a machine-readable copy of your chart. AI tools follow the link to see what your chart shows. Your readers never see it.
What changes in your embed code
When you copy a script embed code from the Export & publish menu, it ends with a second <div> containing the link:
<div class="flourish-embed flourish-chart" data-src="visualisation/29601929"><script src="https://public.flourish.studio/resources/embed.js"></script><noscript><img src="https://public.flourish.studio/visualisation/29601929/thumbnail" width="100%" alt="visualization" /></noscript></div><div class="flourish-fallback" data-for="visualisation/29601929"><a href="https://public.flourish.studio/visualisation/29601929/visualisation.json?ref=embed-script">https://public.flourish.studio/visualisation/29601929/visualisation.json?ref=embed-script</a></div>
The link points to the chart's public data file, which updates every time you republish. When you embed, paste the whole code, including that second <div>.
Will my readers see the link?
No. The embed script hides the link as soon as it runs, and removes it when your chart loads. Readers with JavaScript turned off see a plain web address under the chart's preview image. AI tools reading the raw HTML can follow it to the chart's data.
Does it expose my data?
The link grants no extra access. Every published visualization that isn't password-protected already has a public data file at this address. The link simply makes it easy for AI tools to find. Password-protected visualizations never include the link.
Who gets AI-friendly embeds
- Personal accounts (not part of a company) always get them, whatever the plan.
- Company accounts get them only when a company admin has turned them on. The setting is off by default, and isn't available to companies with encryption enabled.
Only script embed codes include the link. Iframe and AMP embed codes are unchanged, and story embed codes never include it.
How to turn them on for your company
If you're a company admin:
- Go to your company settings.
- Under AI features, check Enable AI-friendly embeds.
From then on, every script embed code your team copies includes the data link.
Updating charts you've already embedded
Embed codes already on your pages don't change. To add the link to an existing embed, open the project, copy the embed code again, and replace the old code on your page. Turning the setting off works the same way: codes already on pages keep the link until you replace them.
TIP: For the technical details, including how to add the link in a CMS that builds embed codes itself, see our developer documentation.