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.25
Shape fill opacity.
2
Shape border width.
Method to compute border color.
Define patterns and gradients.
Define rules to apply patterns and gradients
5
Number of levels to display for grid
'circular'
Determine shape of the grid.
Grid label.
16
Label offset from outer radius.
true
Enable/disable dots.
Overrides default dot circle.
6
Size of the dots.
Method to compute dots color.
0
Width of the dots border.
Method to compute dots border color.
false
Enable/disable dots label.
'formattedValue'
Dot label.
-12
Label Y offset from dot shape.
'grid'
, 'layers'
, 'slices'
, 'dots'
, 'legends'
]Defines the order of layers and add custom layers.
true
Enable/disable interactivity.
Override default slice tooltip.
true
Enable/disable transitions.
'gentle'
Motion config for react-spring, either a preset or a custom configuration.