// troubleshooting guide · datawrapper

Datawrapper Embedded Chart Cut Off or Too Much Space

Status
Workaround available
platforms:
Web (WordPress, CMS, website builders)
updated:
November 16, 2026
reports:
3
Method
how we research
Share

RUNBOOK · datawrapper/embed-cut-off4 FIXES

// quick answer

Your CMS removed or changed the JavaScript part of the embed code, so the iframe can't resize. Paste the full script embed or both blocks of the Responsive iframe code, or use the WordPress oEmbed plugin.

Most likely fix: Re-copy the full responsive embed code

How to fix it

// try these in order, the most common fix is first

  1. FIX 1Re-copy the full responsive embed code

    1. 01Open the visualization and go to step 4: Publish & Embed
    2. 02Choose Embed with script (recommended) or Responsive iframe
    3. 03Copy the whole code, including the JavaScript block
    4. 04Paste it into an HTML/custom code block, not a rich-text field
    Did this fix it?
  2. FIX 2Use the WordPress oEmbed plugin

    1. 01Install Datawrapper's oEmbed plugin on self-hosted WordPress (WordPress.com needs a plan that allows plugins)
    2. 02Paste the Visualization only link on its own line in the editor
    Did this fix it?
  3. FIX 3Work around JavaScript restrictions

    1. 01Ask your CMS admin whether scripts are stripped or altered
    2. 02If scripts aren't allowed, follow the "Working with Javascript restrictions" section in Datawrapper's Responsive iframe developer docs
    3. 03As a last resort, use the plain iframe and set a height that fits mobile; re-copy it after any resize
    Did this fix it?
  4. FIX 4Check your theme CSS

    1. 01Inspect the iframe in browser dev tools
    2. 02Remove global rules that force iframe height or width
    3. 03Reload the page
    Did this fix it?

Symptoms

The embedded chart is cut off at the bottom, shows scrollbars, looks squashed on mobile, or leaves a big empty gap underneath.

Why it happens

  • C-01The CMS strips the <script> block of the responsive embed code
  • C-02The CMS rewrites the embed code and breaks the ID the resizer looks for
  • C-03A plain (non-responsive) iframe with a fixed height was used
  • C-04Theme CSS overrides iframe height (for example height: auto on all iframes)

// this guide also covers

  • datawrapper embed cut off
  • datawrapper iframe height
  • datawrapper embed not showing wordpress
  • datawrapper chart too much space

Still not working?

If Datawrapper keeps failing, you're not alone. See every Datawrapper problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us

Watch Datawrapper Get an email when its price changes, it has an outage, or we publish a new fix. No spam.

Fixed it? Share this guide

The same problem in other apps

All storage, upload & download guides →

Other Datawrapper errors

All 12 Datawrapper errors and fixes →