Charts · Gutenberg

Pictograph block for WordPress

An icon-based unit chart where coloured glyphs represent proportional data — great for infographic-style statistics.

Get Blockenberg

Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.

Get Blockenberg

What it actually does

An icon-based unit chart where coloured glyphs represent proportional data — great for infographic-style statistics.

Inspector panels on this block: Chart Settings, Layout, Segments. Those titles come from index.js, not from a shared template.

Pictograph has no render.php and no frontend.js. The saved Gutenberg HTML is what visitors see, plus Blockenberg layout/typography CSS.

Where to find it

Gutenberg inserter → Charts → search “Pictograph” (block name `blockenberg/pictograph` in block.json). Style it in the sidebar after insert.

How to use Pictograph block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Pictograph”, insert it. Category: Charts.
  3. Configure inspector controls that exist on this block. Open Chart Settings. Set “Chart Settings — Title”, “Show Title”, “Show Legend”, “Total Units”.
  4. Publish. Save the page. Output is the saved block HTML; typography/colors follow Blockenberg shared panels.

Inspector controls from this block’s code

ControlWhat the code does
Chart Settings — TitleText field in the inspector. block.json default: Population by Age Group. Saved as `title`.
Show TitleOn/off toggle in the inspector. On by default. Saved as `showTitle`.
Show LegendOn/off toggle in the inspector. On by default. Saved as `showLegend`.
Total UnitsNumeric range control in the inspector. Range 10–200. block.json default: 100. Saved as `totalUnits`.
ColumnsNumeric range control in the inspector. Range 4–25. block.json default: 10. Saved as `gridCols`.
Cell Gap (px)Numeric range control in the inspector. Range 0–24. block.json default: 4. Saved as `cellGap`.
Cell Size (px)Numeric range control in the inspector. Range 16–80. block.json default: 36. Saved as `cellSize`.
Icon Font SizeNumeric range control in the inspector. Range 8–60. block.json default: 22. Saved as `iconFontSize`.
Legend Font SizeNumeric range control in the inspector. Range 9–22. block.json default: 13. Saved as `legendFontSize`.
Colors — BackgroundColor control in the inspector. block.json default: #ffffff. Saved as `bgColor`.
Title ColorColor control in the inspector. block.json default: #111827. Saved as `titleColor`.
Text ColorColor control in the inspector. block.json default: #374151. Saved as `textColor`.
Empty IconColor control in the inspector. block.json default: #e5e7eb. Saved as `emptyColor`.
LabelText field in the inspector.
ValueNumeric range control in the inspector.

When this is the right block

Notes from the implementation

Static block: markup is saved in post content; no PHP render callback in this folder.

FAQ

How do I add the Pictograph block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Pictograph”. It sits under Charts. After insert, open Chart Settings and set “Chart Settings — Title”, “Show Title”, “Show Legend”, “Total Units”.

What makes Pictograph different from other Blockenberg blocks?

An icon-based unit chart where coloured glyphs represent proportional data — great for infographic-style statistics. Inspector labels on this block include “Chart Settings — Title”, “Show Title”, “Show Legend”, “Total Units”.

Is the Pictograph Gutenberg block free?

Yes. Pictograph ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style Pictograph to match my theme?

Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Chart Settings, Layout, Segments).

Related charts blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Pictograph from the Gutenberg inserter.

Get Blockenberg