Generates a radar chart from an array of data. Note that margin object does not take grid labels into account, so you should adjust it to leave enough room for it.
The responsive alternative of this component is
ResponsiveRadar.
This component is available in the @nivo/api, see
sample or
try it using the API client.
See the dedicated guide on how to setup legends for this component.
Chart data.
Key to use to index the data.
Keys to use to determine each serie.
'auto'Maximum value.
Optional formatter for values.
'linearClosed'Curve interpolation.
Chart width.
Chart height.
Chart margin.
Define style for common elements such as labels, axes…
Define chart's colors.
0.25Shape fill opacity.
2Shape border width.
Method to compute border color.
Define patterns and gradients.
Define rules to apply patterns and gradients
5Number of levels to display for grid
'circular'Determine shape of the grid.
Grid label.
16Label offset from outer radius.
trueEnable/disable dots.
Overrides default dot circle.
6Size of the dots.
Method to compute dots color.
0Width of the dots border.
Method to compute dots border color.
falseEnable/disable dots label.
'formattedValue'Dot label.
-12Label Y offset from dot shape.
'grid', 'layers', 'slices', 'dots', 'legends']Defines the order of layers and add custom layers.
trueEnable/disable interactivity.
Override default slice tooltip.
onClick handler, it receives target node data and mouse event.
trueEnable/disable transitions.
'gentle'Motion config for react-spring, either a preset or a custom configuration.