Back to blog
embed-guide

How do I embed a chart in a Ghost newsletter?

Phill Hendry 6 May 2026 4 min read

Quick answer

Ghost supports raw HTML natively via the HTML card, making it the most flexible newsletter platform for interactive chart embeds. Unlike Substack (which restricts embeds to Datawrapper only), Ghost lets you paste any iframe code. Create your chart in Quadesto, copy the embed code, add an HTML card in Ghost, and paste. Full interactivity preserved.

Why Ghost is great for chart embeds

Ghost gives content creators more control over their output than Substack or Beehiiv. It's open-source, self-hostable, and supports raw HTML natively. For interactive chart embeds, this makes Ghost the most flexible newsletter platform.

Where Substack requires specific URL patterns to render embeds, and Beehiiv requires the HTML block workaround, Ghost lets you paste any HTML directly into your content. Every chart tool that produces an iframe works perfectly in Ghost.

Embedding a Quadesto chart in Ghost

1. Create your chart in Quadesto. Upload data, let AI analyze, refine via chat.

2. Click 'Share' and copy the embed code (the iframe snippet).

3. In the Ghost editor, click the + button to add a new card.

4. Select 'HTML' from the card menu.

5. Paste the iframe code into the HTML card.

6. The chart renders immediately in the editor preview.

Ghost renders the iframe at full fidelity — interactive, responsive, and styled exactly as it appears on Quadesto.

Advanced: Ghost + Quadesto for financial media sites

Many financial media sites and research portals run on Ghost (it's popular with independent publishers who want more control than Substack offers). For these sites, Quadesto embeds serve as the visualization layer:

• Market commentary posts with live candlestick charts that auto-refresh

• Research notes with yield curve and vol surface visualizations

• Economic analysis with FRED-connected charts that update daily

• Client-facing fund commentary with portfolio performance charts

The combination of Ghost's publishing flexibility and Quadesto's finance-specific charts creates a professional financial media stack at a fraction of the cost of enterprise alternatives.

Responsive design considerations

Ghost themes vary in how they handle embedded content. For the best results:

Set iframe width to 100% so it fills the content column.

Set height to 400-600px depending on the chart complexity.

Add style='border:none;' to remove the default iframe border.

Quadesto embeds detect their container size and adjust automatically, so they work well in both wide desktop layouts and narrow mobile views.

Ready to try Quadesto?

Connect your data. AI builds the charts. Embed anywhere.

Get Started Free
Ghostembednewsletter