Heatmap
Hour by weekday on a five-step ramp from fill to series 1; never a rainbow.
| Row | 00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Mon | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 41 | 64 | 150 | 136 | 243 | 247 | 308 | 328 | 390 | 264 | 309 | 296 | 298 | 347 | 264 | 279 | 264 |
| Tue | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 44 | 76 | 107 | 138 | 194 | 195 | 292 | 324 | 223 | 313 | 388 | 295 | 334 | 405 | 252 | 257 | 295 |
| Wed | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 53 | 78 | 105 | 216 | 197 | 184 | 274 | 233 | 392 | 317 | 287 | 333 | 335 | 337 | 249 | 347 | 257 |
| Thu | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 42 | 70 | 148 | 199 | 184 | 198 | 261 | 289 | 371 | 423 | 362 | 252 | 244 | 344 | 226 | 288 | 335 |
| Fri | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 53 | 83 | 116 | 214 | 232 | 267 | 276 | 309 | 225 | 342 | 358 | 308 | 393 | 258 | 372 | 275 | 196 |
| Sat | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 | 19 | 29 | 64 | 77 | 89 | 104 | 67 | 116 | 109 | 123 | 129 | 72 | 109 | 84 | 81 | 76 |
| Sun | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15 | 28 | 34 | 59 | 76 | 64 | 101 | 69 | 72 | 88 | 81 | 130 | 118 | 97 | 113 | 91 | 97 |
<Heatmap aria-label="Requests by hour and weekday" rows={days} columns={hours} values={values} />import { Heatmap } from "@logicplanes/kaeso-ui";Props
aria-labelstringThe chart's accessible name ("Requests by model").
columnLabelEverynumber = 3Labels every nth column, starting with the first (3 by default), so dense columns stay readable.
columnsstring[]The column labels, left to right (hours, or weeks).
formatValue((v: number) => string)Formats a cell's value for its tooltip, the table and screen readers. Defaults to
formatNumber.rowsstring[]The row labels, top to bottom (weekdays). With no rows or columns the chart shows its empty state.
valuesnumber[][]The values by row, then column:
values[row][column]. The darkest step is the largest value.