Charts · Gutenberg
Chord Diagram block for WordPress
Circular diagram showing bidirectional relationships and flow volumes between groups. Great for migration patterns, trade flows, cross-referrals, and collaboration networks.
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
Circular diagram showing bidirectional relationships and flow volumes between groups. Great for migration patterns, trade flows, cross-referrals, and collaboration networks.
Inspector panels on this block: Chart Settings, Groups, Relationship Matrix. Those titles come from index.js, not from a shared template.
Behavior controls: “Label Font Weight” options: Normal (400), Medium (500), Semi Bold (600), Bold (700), Extra Bold (800).
Chord 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 “Chord Diagram” (block name `blockenberg/chord-diagram` in block.json). Style it in the sidebar after insert.
How to use Chord Diagram block for WordPress
- Install Blockenberg. Install from WordPress.org and activate the plugin.
- Insert the block. Edit a page, click +, search for “Chord Diagram”, insert it. Category: Charts.
- Configure inspector controls that exist on this block. Open Chart Settings. Set “Chart Settings — Title”, “Show Title”, “Show Labels”, “Canvas Size”.
- 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 |
|---|---|
| Chart Settings — Title | Text field in the inspector. block.json default: Cross-Department Collaboration. Saved as `title`. |
| Show Title | On/off toggle in the inspector. On by default. Saved as `showTitle`. |
| Show Labels | On/off toggle in the inspector. On by default. Saved as `showLabels`. |
| Canvas Size | Numeric range control in the inspector. Range 280–900. block.json default: 560. Saved as `svgSize`. |
| Arc Thickness | Numeric range control in the inspector. Range 8–60. block.json default: 22. Saved as `arcThickness`. |
| Arc Gap (°) | Numeric range control in the inspector. Range 1–30. block.json default: 8. Saved as `arcGap`. |
| Chord Opacity % | Numeric range control in the inspector. Range 10–95. block.json default: 55. Saved as `chordOpacity`. |
| Label Font Size | Numeric range control in the inspector. Range 9–22. block.json default: 13. Saved as `labelFontSize`. |
| Label Font Weight | Select control; the chosen value is saved on the block. Options: Normal (400); Medium (500); Semi Bold (600); Bold (700); Extra Bold (800). block.json default: 600. Saved as `labelFontWeight`. |
| Colors — Background | Color control in the inspector. block.json default: #ffffff. Saved as `bgColor`. |
| Title Color | Color control in the inspector. block.json default: #111827. Saved as `titleColor`. |
| Label | Text field in the inspector. Saved as `groups`. |
When this is the right block
- Circular diagram showing bidirectional relationships and flow volumes between groups. Great for migration patterns, trade flows, cross-referrals, and collaboration networks — that is the job of Chord Diagram, not a generic content block.
- Use it when you need the editor control labeled “Chart Settings — Title”, which exists on this block’s inspector.
- It matches pages about chord, diagram, circular.
- 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 Chord Diagram block in WordPress?
Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Chord Diagram”. It sits under Charts. After insert, open Chart Settings and set “Chart Settings — Title”, “Show Title”, “Show Labels”, “Canvas Size”.
What makes Chord Diagram different from other Blockenberg blocks?
Circular diagram showing bidirectional relationships and flow volumes between groups. Great for migration patterns, trade flows, cross-referrals, and collaboration networks. Inspector labels on this block include “Chart Settings — Title”, “Show Title”, “Show Labels”, “Canvas Size”.
Is the Chord Diagram Gutenberg block free?
Yes. Chord Diagram ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.
Can I style Chord 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: Chart Settings, Groups, Relationship Matrix).
Related charts blocks
Sankey Diagram
Flow diagram showing proportional transfers between stages. Great for budget allocation, user journeys, traffic sources, and energy/material flows.
Comparison Table
Feature matrix comparing multiple plans with check/cross marks, text values, and a highlighted popular column.
Mind Map
Visual mind map diagram with a central topic, branches, and sub-items. Great for brainstorming, planning, and knowledge visualization.
Venn Diagram
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.
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.
Get Blockenberg
Install Blockenberg from WordPress.org, then insert Chord Diagram from the Gutenberg inserter.