A variation around the HeatMap component. Well suited for large data sets as it does not impact DOM tree depth, however you'll lose the isomorphic ability and transitions.
The responsive alternative of this component is
ResponsiveHeatMapCanvas.
Chart data.
Optional formatter for values.
Chart width.
Chart height.
'Depends on device'Adjust pixel ratio, useful for HiDPI screens.
Chart margin.
falseForce square cells (width = height), please note that padding is ignored.
0000falseOptionally make the size of the cells vary depending on their value.
Define style for common elements such as labels, axes…
The quantize color scale maps colors from min to max value
to a discrete color range, dividing the domain into uniform segments.
You can either use a predefined color scheme or pass a
custom array of colors.
If omitted, will use the min value from the data.
If omitted, will use the max value from the data.
7Customize the number of steps you want to use for a quantize scale
unless you specify a custom array of colors, in which case the number of
steps is equal to the number of colors you defined.
'#000000'#555555Color to use for cells not having a value.
110.150Cell border radius, when using rect.
0#000000trueEnable/disable labels.
'formattedValue'Define what to use as a label.
falseEnable/disable x grid.
falseEnable/disable y grid.
Top axis configuration.
Right axis configuration.
Bottom axis configuration.
Left axis configuration.
Please note that legends are ignored when using a custom function for colors.
'grid', 'axes', 'cells', 'legends', 'annotations']Defines the order of layers and add custom layers, please use the appropriate variant for custom layers.
'rect'Cell component, the API does not support CellComponent.
'rect'Cell renderer for canvas implementation.
trueEnable/disable interactivity.
Custom tooltip component.
'rowColumn'Defines hover behavior.
Annotations for nodes.
Main element role attribute.
Main element aria-label.
Main element aria-labelledby.
Main element aria-describedby.
trueEnable/disable transitions.
'gentle'Motion config for react-spring, either a preset or a custom configuration.