durian-hypermediaStyle

All fixtures · From the Format page · format/76-chart-heatmap.dh.md

Source
---
title: "Chart heatmap"
description: A sample of the chart features of format version 11.
---

## Chart heatmap

A heatmap draws one cell per value; an empty cell is null.

```chart
kind: heatmap
title: Errors by hour
x: { label: hour, values: ["00", "04", "08"] }
y: { label: day, values: [Mon, Tue] }
series:
  - name: errors
    data:
      - [0, 1, 4]
      - [null, 2, 12]
```
LLM view
---
title: "Chart heatmap"
description: A sample of the chart features of format version 11.
source: format/76-chart-heatmap.dh.md
---
<!-- Made by dh llm from the source; nobody edits this file. -->

## Chart heatmap

A heatmap draws one cell per value; an empty cell is null.

Chart (heatmap): Errors by hour

Each cell is the value for one day and one hour (errors).

| day \ hour | 00 | 04 | 08 |
| --- | --- | --- | --- |
| Mon | 0 | 1 | 4 |
| Tue |  | 2 | 12 |

Chart heatmap

A heatmap draws one cell per value; an empty cell is null.

Errors by hour
Show the numbers as a table
day \ hour000408
Mon014
Tue212