Heatmap
Two-dimensional categorical heatmap with z-axis color scale.
Map a numeric value to color for every combination of two categorical axes. Supply x/y category lists plus [x_index, y_index, value] cell tuples, then tune the color scale on the z axis.
- Calendar grids, correlation matrices, or category × metric intensity tables.
- Severity or utilization bands via piecewise
color_scalethresholds. - Dashboard cells where exact values matter on hover — enable
tooltip.
- Pass
x_categories,y_categories, and sparse or densecellstuples (0-based indexes). - Set
color_scaleto continuous (default) or piecewise for severity buckets. - Enable
legendfor a color-bar key;tooltipfor per-cell values. - Wrap the chart in a native element with
data-testidfor E2E hooks.
Basic heatmap
Region × hour grid with default continuous color scale. Tuple indexes refer to positions in the category arrays — sparse tuples omit empty cells.
Piecewise color scale
Bucketed colors via thresholds for low/medium/high severity. Thresholds split the z domain into bands — each band maps to the next color in colors.
Tooltip, legend, and cell highlight
Color-scale legend, item tooltip on cell hover, and global fade. See charts-tooltip and charts-highlighting for trigger and fade patterns shared across chart types.
867
Intensity