Radar chart
Compares several measures at once, each on its own spoke, so the shape of a profile stands out.
| Name | Type | What it does |
|---|---|---|
radarChart(data, options) | component | data: { axes: [names], series: [{ name, values }] }. Needs at least three axes |
{ max } | modifier | Option: the value at the outer ring. Defaults to a round number above the largest value |
{ size } | modifier | Option: the square drawing's size (default 420) |
{ label } | modifier | Option: a description read out by screen readers |
Two profiles
<script type="module" src="node_modules/glimmer-ui/charts.js"></script>
<gl-chart type="radar" data='{"axes":["Speed","Reliability","Comfort","Safety","Efficiency","Price"],"series":[{"name":"Model A","values":[82,64,70,90,58,45]},{"name":"Model B","values":[55,88,84,72,80,70]}]}'></gl-chart>