Skip to content
/docsfor

Waffle

Percentages as a grid of cells.

import { Waffle } from "diagrammatic";

One cell, one deploy. A waffle is for shares you can count with a finger, not a famous fact about the planet.

Last 100 production deploysclean 91%rollback 6%hotfix 3%

Illustrative data. Production deploys, trailing 100.

fig. 21.1 · Last 100 production deploys

The grid contains 91 clean deploys, six rollbacks, and three hotfixes. Clean deploys account for 91% of the 100 cells.

A household divides every budget dollar among spending, money still available, and savings. Each hexagon represents one percent of the budget.

Budget splitspent 52%remaining 33%saved 15%

Illustrative data. Illustrative household budget.

fig. 21.2 · A budget split on a hex waffle

Of 100 cells, 52 are spent, 33 remain available, and 15 are saved.

Use it for
Shares that people can count, roughly one cell per percent.
Watch out
It works to about four groups; beyond that the runs of color blur together.