Charts · Gutenberg

Venn Diagram block for WordPress

SVG-based Venn diagram with two or three overlapping circles. Each circle and overlap region has customisable labels, colour, and list items. Perfect for comparing sets, audiences, or concepts.

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

SVG-based Venn diagram with two or three overlapping circles. Each circle and overlap region has customisable labels, colour, and list items. Perfect for comparing sets, audiences, or concepts.

Inspector panels on this block: Content, Overlap Text, Appearance. Those titles come from index.js, not from a shared template.

Behavior controls: “Mode” options: Two circles, Three circles.

Venn Diagram 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 “Venn Diagram” (block name `blockenberg/venn-diagram` in block.json). Style it in the sidebar after insert.

How to use Venn Diagram block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Venn Diagram”, insert it. Category: Charts.
  3. Configure inspector controls that exist on this block. Open Content. Set “Label”, “Items (one per line)”, “Content — Title”, “Show title”.
  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
LabelText field in the inspector.
Items (one per line)Multiline text field in the inspector.
Content — TitleText field in the inspector. block.json default: What We Do Best. Saved as `title`.
Show titleOn/off toggle in the inspector. On by default. Saved as `showTitle`.
SubtitleText field in the inspector. block.json default: The intersection of what the world needs, what we love, and what we're good at. Saved as `subtitle`.
Show subtitleOn/off toggle in the inspector. On by default. Saved as `showSubtitle`.
ModeSelect control; the chosen value is saved on the block. Options: Two circles; Three circles. block.json default: three. Saved as `mode`.
Show circle labelsOn/off toggle in the inspector. On by default. Saved as `showCircleLabels`.
Show overlap textOn/off toggle in the inspector. On by default. Saved as `showOverlapText`.
Show item listsOn/off toggle in the inspector. On by default. Saved as `showCircleItems`.
B ∩ CText field in the inspector. block.json default: Good career. Saved as `overlapBC`.
A ∩ CText field in the inspector. block.json default: Volunteer. Saved as `overlapAC`.
A ∩ B ∩ C (centre)Text field in the inspector. block.json default: Ikigai ✨. Saved as `overlapABC`.
Diagram sizeNumeric range control in the inspector. Range 240–600. block.json default: 420. Saved as `svgSize`.
Circle opacityNumeric range control in the inspector. Range 5–60. block.json default: 0.22. Saved as `circleOpacity`.
Border radiusNumeric range control in the inspector. Range 0–32. block.json default: 16. Saved as `borderRadius`.
Padding topNumeric range control in the inspector. Range 0–120. block.json default: 48. Saved as `paddingTop`.
Padding bottomNumeric range control in the inspector. Range 0–120. block.json default: 48. Saved as `paddingBottom`.
Label font sizeNumeric range control in the inspector. Range 10–28. block.json default: 16. Saved as `labelSize`.
Overlap font sizeNumeric range control in the inspector. Range 8–22. block.json default: 12. Saved as `overlapSize`.
Item font sizeNumeric range control in the inspector. Range 10–20. block.json default: 14. Saved as `fontSize`.
Colors — BackgroundColor control in the inspector. block.json default: #ffffff. Saved as `bgColor`.
Colors — TitleColor control in the inspector. block.json default: #0f172a. Saved as `titleColor`.
SubtitleColor control in the inspector. block.json default: #64748b. Saved as `subtitleColor`.
Text / overlapsColor control in the inspector. block.json default: #1e293b. Saved as `textColor`.

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 Venn Diagram block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Venn Diagram”. It sits under Charts. After insert, open Content and set “Label”, “Items (one per line)”, “Content — Title”, “Show title”.

What makes Venn Diagram different from other Blockenberg blocks?

SVG-based Venn diagram with two or three overlapping circles. Each circle and overlap region has customisable labels, colour, and list items. Perfect for comparing sets, audiences, or concepts. Inspector labels on this block include “Label”, “Items (one per line)”, “Content — Title”, “Show title”.

Is the Venn Diagram Gutenberg block free?

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

Can I style Venn Diagram 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: Content, Overlap Text, Appearance).

Related charts blocks

Get Blockenberg

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

Get Blockenberg