All fixtures · From the Format page · format/14-chart-100-stacked-bar.dh.md
Source
---
title: "Chart: 100% stacked bar"
description: A fixture made from the Format page section of the same name.
---
## Chart: 100% stacked bar
`stacked: percent` scales each bar to 100%; the tooltip still shows the real number. Init call 1 carries nothing, so it has no share and is left out.
```chart
kind: bar
stacked: percent
title: Share of each init call's size
x: { label: init call, values: [2, 3, 4] }
y: { label: share of bytes }
series:
- name: answers
data: [48, 96, 144]
- name: deterministic state
data: [40, 40, 40]
```
LLM view
---
title: "Chart: 100% stacked bar"
description: A fixture made from the Format page section of the same name.
source: format/14-chart-100-stacked-bar.dh.md
---
<!-- Made by dh llm from the source; nobody edits this file. -->
## Chart: 100% stacked bar
`stacked: percent` scales each bar to 100%; the tooltip still shows the real number. Init call 1 carries nothing, so it has no share and is left out.
Chart (100% stacked bar): Share of each init call's size
Each bar or area is scaled to 100%; the cells hold the real values.
| init call | answers | deterministic state |
| --- | --- | --- |
| 2 | 48 | 40 |
| 3 | 96 | 40 |
| 4 | 144 | 40 |Chart: 100% stacked bar
stacked: percent scales each bar to 100%; the tooltip still shows the real number. Init call 1 carries nothing, so it has no share and is left out.
Share of each init call's size
Show the numbers as a table
| init call | answers | deterministic state |
|---|---|---|
| 2 | 48 | 40 |
| 3 | 96 | 40 |
| 4 | 144 | 40 |