Charts block
Numbers say more as a picture. The charts block turns a small table of data into a bar, line or pie chart, right on your page, without an image editor or an extra tool. Let's dive in.
Purpose and when to use
Sometimes a figure is the story: how a budget is spent, how visitors grew, how a vote went. A table is accurate but hard to read at a glance. A chart shows the shape of the data at once.
Use it for a comparison between a few items (bar), a trend over time (line) or the parts of a whole (pie). You paste or type your data as a simple table, and the chart is drawn for you.
What makes it handy
Three chart types
Bar for comparing, line for trends and pie for the parts of a whole. Switch type and the same data is drawn another way.
Data as a table
Type or paste your data as text, one row per line. If you work in a spreadsheet, you can copy it from there.
Fits your layout
Set the width of the chart, or place two charts side by side in a column block to compare them.
The charts block in action
Three real charts: a single chart at full width, and two side by side in a column block.
Learn more
Want to see an instructional video about how to add charts? Check out this link.
What you can set
- Chart type: bar, line or pie.
- Data: a table of text, one row per line, with the values separated by a delimiter (a semicolon unless you change it). It is checked when you save, so a mistake in the table is reported straight away. The data can differ per language.
- Width: how much of the available width the chart takes.
- Bar and line: an optional horizontal reference line at a value you choose, for example a target, and an option to turn the axes around.
- Pie: an option to show a legend.
- Row background colour.
What visitors see
The chart is drawn on the page, in the browser. If the data cannot be read, or the table is empty, the page shows a short message in place of the chart, so check the page after you change the data.
Alternatives
- Table block: when exact numbers matter more than their shape. See Table block.
- Rich text block: when one or two figures are enough, written out in a sentence. See Rich text block.
- Column block: to put a chart next to a text that explains it. See Column block.
A chart next to a short text that tells the conclusion keeps a data page lively.


