Charts · Gutenberg
Radar Chart block for WordPress
Spider/radar chart with multiple datasets, fill transparency, and axis customization using Chart.js (CDN).
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
Spider/radar chart with multiple datasets, fill transparency, and axis customization using Chart.js (CDN).
Inspector panels on this block: Axes & Data, Chart Options, Background. Those titles come from index.js, not from a shared template.
Behavior controls: “Axis Labels (CSV)” (e.g. Speed,Power,Range); “Legend Position” options: Top, Bottom.
Where to find it
Gutenberg inserter → Charts → search “Radar Chart” (block name `blockenberg/radar-chart` in block.json). Style it in the sidebar after insert.
How to use Radar Chart block for WordPress
- Install Blockenberg. Install from WordPress.org and activate the plugin.
- Insert the block. Edit a page, click +, search for “Radar Chart”, insert it. Category: Charts.
- Configure inspector controls that exist on this block. Open Axes & Data. Set “Label”, “Data (CSV, must match axis count)”, “Fill Opacity (0–1)”, “Axis Labels (CSV)”.
- Check the published page. The view script reads HTML data attributes: data-datasets, data-grid-lines, data-labels, data-legend, data-legend-pos, data-scale-max, data-scale-min, data-size. The block editor preview may not run the same view script.
Inspector controls from this block’s code
| Control | What the code does |
|---|---|
| Label | Text field in the inspector. |
| Data (CSV, must match axis count) | Text field in the inspector. |
| Fill Opacity (0–1) | Numeric range control in the inspector. Range 0–100. |
| Axis Labels (CSV) | Text field in the inspector. e.g. Speed,Power,Range. block.json default: Speed,Power,Range,Accuracy,Endurance,Agility. Saved as `labels`. |
| Typography — Title | Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `titleTypo`. |
| Title (optional) | Text field in the inspector. Saved as `title`. |
| Chart Size (px) | Numeric range control in the inspector. Range 200–700. block.json default: 340. Saved as `size`. |
| Scale Min | Numeric range control in the inspector. Range 0–100. block.json default: 0. Saved as `scaleMin`. |
| Scale Max | Numeric range control in the inspector. Range 10–1000. block.json default: 100. Saved as `scaleMax`. |
| Grid Lines | Numeric range control in the inspector. Range 2–10. block.json default: 5. Saved as `gridLines`. |
| Show Legend | On/off toggle in the inspector. On by default. Saved as `showLegend`. |
| Legend Position | Select control; the chosen value is saved on the block. Options: Top; Bottom. block.json default: top. Saved as `legendPos`. |
| Card Border Radius (px) | Numeric range control in the inspector. Range 0–32. block.json default: 12. Saved as `borderRadius`. |
| Card Background | Color control in the inspector. block.json default: #ffffff. Saved as `bgColor`. |
What the front-end script actually does
- The view script reads HTML data attributes: data-datasets, data-grid-lines, data-labels, data-legend, data-legend-pos, data-scale-max, data-scale-min, data-size.
- Charts are drawn with Chart.js in the browser from values saved on the block.
When this is the right block
- Spider/radar chart with multiple datasets, fill transparency, and axis customization using Chart.js (CDN) — that is the job of Radar Chart, 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 chart, radar, spider.
- Inserter grouping: reports, dashboards, and data-heavy pages.
Notes from the implementation
viewScript: this folder’s frontend.js is enqueued on the front end for this block.
FAQ
How do I add the Radar Chart block in WordPress?
Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Radar Chart”. It sits under Charts. After insert, open Axes & Data and set “Label”, “Data (CSV, must match axis count)”, “Fill Opacity (0–1)”, “Axis Labels (CSV)”.
Does Radar Chart need a server or extra plugin?
No. After Blockenberg is active, the view script runs in the browser with the values you saved on the block.
Is the Radar Chart Gutenberg block free?
Yes. Radar Chart ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.
Can I style Radar Chart 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: Axes & Data, Chart Options, Background).
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.
Doughnut Chart
Pie/doughnut chart with adjustable cutout, center label, and per-slice colors using Chart.js (CDN).
Line Chart
Interactive line chart using Chart.js (loaded from CDN). Supports multiple datasets, fill, tension, and grid styling.
Polar Area Chart
Beautiful polar area chart powered by Chart.js.
Treemap Chart
Hierarchical data visualized as proportional nested rectangles. Great for market share, budget breakdowns, and category comparisons.
Get Blockenberg
Install Blockenberg from WordPress.org, then insert Radar Chart from the Gutenberg inserter.