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.
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
- Install Blockenberg. Install from WordPress.org and activate the plugin.
- Insert the block. Edit a page, click +, search for “Venn Diagram”, insert it. Category: Charts.
- Configure inspector controls that exist on this block. Open Content. Set “Label”, “Items (one per line)”, “Content — Title”, “Show title”.
- Publish. Save the page. Output is the saved block HTML; typography/colors follow Blockenberg shared panels.
Inspector controls from this block’s code
| Control | What the code does |
|---|---|
| Label | Text field in the inspector. |
| Items (one per line) | Multiline text field in the inspector. |
| Content — Title | Text field in the inspector. block.json default: What We Do Best. Saved as `title`. |
| Show title | On/off toggle in the inspector. On by default. Saved as `showTitle`. |
| Subtitle | Text 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 subtitle | On/off toggle in the inspector. On by default. Saved as `showSubtitle`. |
| Mode | Select control; the chosen value is saved on the block. Options: Two circles; Three circles. block.json default: three. Saved as `mode`. |
| Show circle labels | On/off toggle in the inspector. On by default. Saved as `showCircleLabels`. |
| Show overlap text | On/off toggle in the inspector. On by default. Saved as `showOverlapText`. |
| Show item lists | On/off toggle in the inspector. On by default. Saved as `showCircleItems`. |
| B ∩ C | Text field in the inspector. block.json default: Good career. Saved as `overlapBC`. |
| A ∩ C | Text 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 size | Numeric range control in the inspector. Range 240–600. block.json default: 420. Saved as `svgSize`. |
| Circle opacity | Numeric range control in the inspector. Range 5–60. block.json default: 0.22. Saved as `circleOpacity`. |
| Border radius | Numeric range control in the inspector. Range 0–32. block.json default: 16. Saved as `borderRadius`. |
| Padding top | Numeric range control in the inspector. Range 0–120. block.json default: 48. Saved as `paddingTop`. |
| Padding bottom | Numeric range control in the inspector. Range 0–120. block.json default: 48. Saved as `paddingBottom`. |
| Label font size | Numeric range control in the inspector. Range 10–28. block.json default: 16. Saved as `labelSize`. |
| Overlap font size | Numeric range control in the inspector. Range 8–22. block.json default: 12. Saved as `overlapSize`. |
| Item font size | Numeric range control in the inspector. Range 10–20. block.json default: 14. Saved as `fontSize`. |
| Colors — Background | Color control in the inspector. block.json default: #ffffff. Saved as `bgColor`. |
| Colors — Title | Color control in the inspector. block.json default: #0f172a. Saved as `titleColor`. |
| Subtitle | Color control in the inspector. block.json default: #64748b. Saved as `subtitleColor`. |
| Text / overlaps | Color control in the inspector. block.json default: #1e293b. Saved as `textColor`. |
When this is the right block
- 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 — that is the job of Venn Diagram, not a generic content block.
- Use it when you need the editor control labeled “Label”, which exists on this block’s inspector.
- It matches pages about venn, diagram, circles.
- Inserter grouping: reports, dashboards, and data-heavy pages.
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
Area Chart
Smooth filled area chart with multiple datasets, gradient fills, and animation using Chart.js (CDN). Great for showing trends over time.
Bar Chart
Vertical or horizontal bar chart with multiple datasets using Chart.js (CDN). Supports stacked, border radius, and custom colors.
Bubble Chart
Interactive bubble chart powered by Chart.js.
Chord Diagram
Circular diagram showing bidirectional relationships and flow volumes between groups. Great for migration patterns, trade flows, cross-referrals, and collaboration networks.
Doughnut Chart
Pie/doughnut chart with adjustable cutout, center label, and per-slice colors using Chart.js (CDN).
Dumbbell Chart
Horizontal dumbbell (connected dot) chart comparing two values per category — ideal for before/after, target vs actual, or two-group comparisons.
Get Blockenberg
Install Blockenberg from WordPress.org, then insert Venn Diagram from the Gutenberg inserter.