To add WordPress charts and tables, install the free Meiku Charts plugin and add a Meiku Chart block. Paste your spreadsheet cells to get a live table, or paste an embed code to get a chart. Preview the result, then insert it. The same block works for both.
We make this plugin, and we tested every step below on a fresh WordPress 7.1 site with the version from the WordPress.org directory. Install it once from Plugins → Add Plugin; every section assumes it’s active.
Which way should you add a chart or table?
WordPress gives you a few ways to put numbers in a post, and they age differently. The built-in Table block is fine for a small static grid. A chart saved as an image goes out of date the moment the numbers change. A plugin block keeps the data in the post and lets readers work with it.
| Method | Sort and search | Easy to update | Survives removal | Works in |
|---|---|---|---|---|
| WordPress Table block | No [A static grid with an optional header, footer and caption.] | Partial [Edit each cell by hand in the editor.] | Yes [It's part of WordPress, so there's nothing to remove.] | Block editor |
| Chart saved as an image | No [A picture. Search engines and screen readers can't read the numbers.] | No [Make a new image and upload it again.] | Yes [The image stays.] | Any editor |
| Meiku Chart block, pasted cells | Yes [A live table people can sort, filter and search, with a pinned first column on phones.] | Yes [Edit chart on the post, then Send to WordPress.] | Yes [A plain HTML table with the same data stays in the post.] | Block editor |
| Meiku Chart block, embed code | Partial [An animated chart with hover values. Screen readers get a data table.] | Yes [Edit chart on the post, then Send to WordPress.] | Yes [A plain HTML table with the same data stays in the post.] | Block editor |
| [meiku_chart] shortcode | Yes [The same live chart or table as the block.] | Partial [Paste new code, or use Edit chart.] | No [The shortcode shows as plain text.] | Classic editor, page builders |
| Embed code in Custom HTML | Yes [The same live chart, without installing a plugin.] | Partial [Paste new code into the block.] | Yes [There's no plugin to remove.] | Any editor |
The table above is itself a live table: click Yes under Survives removal, or pick an editor under Works in. For most posts, the Meiku Chart block is the method that keeps working when the data changes. The rest of this guide uses one example from start to finish: six months of online orders for a fictional neighborhood bakery.
How do you add a table from Excel or Google Sheets?
Pasted spreadsheet cells become a live table. You need WordPress 6.5 or later and permission to edit the post.
- In the dashboard, open Plugins → Add Plugin, search for Meiku Charts, then click Install Now and Activate.
- Open a post, click the block inserter and add Meiku Chart. The block shows Add a chart or table.
- In your spreadsheet, select the cells, header row included, and copy them.
- In the block, choose Paste from a spreadsheet and paste. You can also use Choose a CSV or TSV file.
- Click Preview data. The Table preview shows the live table and a type above each column. Click a type to change it, for example from Number to Currency.
- Click Insert table, save the draft and open the preview.


Here’s the bakery table after a few minutes in our table maker. Sort a column, type a month into the search box or click Below goal, the same way a reader would.
| Month | Online orders | Change | Repeat buyers | By week | 450 goal |
|---|---|---|---|---|---|
| January | 412 | No data | 31% | 96, 101, 104, 111 | No [38 orders short of the goal.] |
| February | 438 | 26 | 33% | 104, 107, 111, 116 | No [12 orders short of the goal.] |
| March | 521 | 83 | 35% | 121, 127, 133, 140 | Yes |
| April | 497 | -24 | 34% | 131, 89, 136, 141 | Yes [Week 2 dipped while the shop closed for two days to repair the oven.] |
| May | 563 | 66 | 37% | 133, 138, 142, 150 | Yes |
| June | 604 | 41 | 39% | 143, 149, 153, 159 | Yes |
The paste in WordPress gives you the plain version: sorting, search and bars under the numbers, for up to 1,000 rows and 12 columns. The extras come from the table maker: the change column, the totals row, the weekly bars, the goal chips with notes, and the Copy, CSV and full-screen buttons in the corner. Build the table there, copy the embed code and paste it into the block with Paste code. On a phone, the first column stays pinned while the rest scrolls, so readers always know which row they’re in.
How do you add a chart?
A chart comes from an embed code. The spreadsheet paste always makes a table, so make the chart in the maker first.
- Open the chart maker and paste the same rows.
- Pick the chart type. Months and order counts read best as columns.
- Click Export, choose Embed and copy the code.
- In WordPress, add a Meiku Chart block, choose Paste code, paste and click Add chart.
- The chart appears in the block. Save the draft and check it in the preview.

| Label | Online orders |
|---|---|
| Jan | 412 |
| Feb | 438 |
| Mar | 521 |
| Apr | 497 |
| May | 563 |
| Jun | 604 |
Orders grew from 412 in January to 604 in June and first passed the goal of 450 in March. The one dip came in April, and the ring above that column says why. The table makes you read six numbers to see that. The chart shows it at a glance, which is the reason to add one. If you’re not sure which chart fits your data, our guide to types of graphs helps you choose.
Add a chart where the shape tells the story faster than the rows do. Keep the table for everything else.
If you’d rather describe the chart in words, ChatGPT and Claude can build it with Meiku Charts and give you the embed code to paste. We cover that route in AI charts and tables in WordPress.
Can you add charts in the classic editor or a page builder?
Yes. Use the shortcode. Paste the embed code between the opening and closing tags in the classic editor’s Text tab, or into a shortcode or HTML widget in your page builder:
[meiku_chart]
<paste the full embed code here>
[/meiku_chart]
The shortcode has no settings of its own. Everything about the chart lives in the code you paste. WordPress strips script tags on save for some user roles, though Administrators and Editors on a single site aren’t affected. If that happens, paste the chart’s JSON between the tags instead of the HTML. In the maker, open Export and choose Chart data next to Embed to copy it.
How do you update a chart after you publish?
You edit tables and charts the same way, from the post itself. Open the published post while signed in with an account that can edit it, and point at the chart. An Edit chart button appears in its corner. Only people who can edit the post see it.

- Click Edit chart and choose Edit on Meiku Charts. The maker opens with the chart’s data and a line that says which post you’re editing.
- Type the new numbers into the cells, or paste the updated rows from your sheet. You can also change labels or the chart type.
- Click Send to WordPress. A window shows the chart as it is on your site next to the updated version.
- Click Update post. Only this chart changes. If the change was a mistake, use Undo on the confirmation message in WordPress.

In the block editor, the same flow starts from Edit in Chart Maker or Edit in Table Maker above the chart. There you review the change, click Apply and save the post. Readers keep seeing the old version until you apply the new one, so the chart never goes blank.
Try it with your data
New on Meiku Charts
Timelines
Put dated events on a story line or a list. Add an end date to draw a period.
See what changed →How do you move the tables you already have?
Older posts often carry tables from other table plugins and WordPress Table blocks. You can move them without retyping. Open Meiku Charts → Bring your tables in the dashboard.
- Click Find tables. The plugin checks your posts and pages and sorts what it finds into Moves as is, Moves with changes and Can’t move.
- Click Preview to see a table Before and After. Tick the tables you want and click Move.
- Choose Copy to Meiku Charts to get drafts you can check first, or Replace in posts to update the posts directly.
- If a replaced post doesn’t look right, click Undo for that post, or Undo all.

The plugin splits a table larger than 12 columns, 1,000 rows or 512 KB into parts. Each part keeps the first column, so every row still has its name. Long parts show 25 rows per page, with search. Start with Copy to Meiku Charts on a handful of posts. When the drafts look right, run Replace in posts on the rest.
What stays in the post if you turn the plugin off?
The data stays. Every Meiku Chart block saved with the current version carries a plain HTML table with the same rows. If you deactivate the plugin, or the chart script can’t load, readers see that table instead of a blank space.
That table also matters while the plugin is on. Search engines and screen readers read the numbers from it, so the figures in your chart are text on the page and not only pixels. Shortcodes are different: without the plugin, a shortcode shows as plain text. Posts made with older versions get the table the first time you open and save them while the plugin is active.
Can you add a chart without a plugin?
Yes, if your site allows custom code. Make the chart in the chart maker, copy the embed code and paste it into a Custom HTML block. The chart loads the same way it does through the plugin.
There are two catches. WordPress removes script tags on save for anyone without the unfiltered_html capability. On a single site, only Administrators and Editors have it. On Multisite, only Super Admins do. On WordPress.com, scripts need a plan that allows plugins, with hosting features turned on.
Without the plugin you also lose the Edit chart button and the spreadsheet paste. Our embed guide covers the code and its options.
Why is the chart block empty?
Most empty blocks come from code that got cut or blocked on the way. Find your symptom below.
| What you see | Likely cause | Fix | Where to fix it |
|---|---|---|---|
| The block stays empty after Paste code | Only part of the embed code was copied, or a share link was pasted. | Copy the full code again from Export → Embed in the maker. | Chart maker |
| The chart shows in the editor but not on the page | A speed plugin delays scripts until the first click. | Exclude https://meikucharts.com/v1/live-chart.js from script delay. | Speed plugin |
| The code disappears when you save | Your user role can't save script tags. | Paste the chart JSON inside the [meiku_chart] shortcode instead. | WordPress editor |
| A plain table shows instead of the chart | The chart script didn't load on that page. | Check the browser console and any script blocking, then reload. | Browser |
| Shortcode text shows on the page | The plugin is inactive, or the shortcode sits in a field that doesn't run shortcodes. | Activate the plugin, or move the shortcode into a shortcode widget. | WordPress dashboard |
Charts work on cached pages, so leave caching on. If a fix doesn’t help, open Meiku Charts → Help in the dashboard.
Comments