Management table reference

Management table examples

Contents: Use cases, Chart IDs, Minimal spec, Data, Options, Annotations, A wide table at the width it is shown at, Statements: signs, subtotals, results and drivers, Group grounds, folds, frames and fitted formats, Value bands and a pinned head, Sizing, Fixtures.

Consulting-grade table: hierarchy with honest totals (derive/validate/source), typed calc columns, status chips, composite cells — self-verifying via computed-cell records. Type table. Aliases: tbl.

Use cases

Chart IDs

Minimal spec

{
  "type": "table",
  "data": {
    "columns": [
      { "id": "name", "kind": "rowLabel", "label": "Region" },
      { "id": "revenue", "kind": "value", "label": "Revenue ($k)" }
    ],
    "rows": [
      { "id": "north", "label": "North", "cells": { "revenue": 120 } },
      { "id": "south", "label": "South", "cells": { "revenue": 90 } }
    ]
  },
  "options": { "title": "North contributes $30k more revenue than South", "source": "Illustrative data" }
}

Data

PathTypeRequiredMeaning
columnGroupsarrayTwo-row headers. Members must exist, belong to at most one group, and be contiguous in columns[] order.
columnGroups[].idstringyesColumn-group id.
columnGroups[].labelstringyesGroup heading.
columnGroups[].columnsarrayyesContiguous member columns.
columnGroups[].bandbooleanGive this group a banded ground, the way the full-year block of a management report is set off from the months beside it.
columnGroups[].notestringHeading qualifier after ·. Lowercase and untracked: the period the block covers, such as Jul 1-15 or full month.
columnGroups[].spacernumberEmpty px track before the group. The metric blocks of a cohort grid stand 16 px apart. It draws no cell, takes no hover, and replaces the divider hairline this group would otherwise open with.
columnGroups[].headingbooleanDraw it. Default true; false keeps the membership (hover series, previous: true calcs), the label as the hover noun, the band, the spacer and the divider, and draws no heading. Where no group draws one, the head loses its group row.
columnGroups[].hoverSeriesstringHover series. 'shown' (default) draws the group's members on screen in the sparkline hover card; 'all' draws every member in columns[] order, those a column toggle hides included, so a block can show history it does not draw. A hidden member stays out of everything else the table draws, measures and counts. One of 'shown', 'all'.
columnTogglesarrayColumn toggle groups. Every member must exist, belong to one toggle, and stay inside one columnGroup.
columnToggles[].idstringyesNonempty reference id.
columnToggles[].labelstringyesColumn-toggle label.
columnToggles[].columnsarrayyesColumns toggled within one header group.
columnToggles[].defaultVisiblebooleanVisible before options.columnVisibility; defaults false.
columnsarrayyesDisplay order; exactly one rowLabel column. Width, alignment, label and order of a column are authored here, so table takes no columnOverrides or columnOrder.
columns[].id (columns[] branch 1 | columns[] branch 2 | columns[] branch 3 | columns[] branch 4 | columns[] branch 5 | columns[] branch 6 | columns[] branch 7)stringyesNonempty reference id.
columns[].label (columns[] branch 1 | columns[] branch 2 | columns[] branch 3 | columns[] branch 4 | columns[] branch 5 | columns[] branch 6 | columns[] branch 7)stringVisible name; defaults to id.
columns[].subLabel (columns[] branch 1 | columns[] branch 2 | columns[] branch 3 | columns[] branch 4 | columns[] branch 5 | columns[] branch 6 | columns[] branch 7)stringSecond header line. At the micro step in muted ink: a weekday under a date, an ISO week under a week start. Primary labels keep one baseline.
columns[].width (columns[] branch 1 | columns[] branch 2 | columns[] branch 3 | columns[] branch 4 | columns[] branch 5 | columns[] branch 6 | columns[] branch 7)numberWidth in px. React keeps it and scrolls. SVG narrows authored tracks only when the fixed frame needs it, with table-overflow and a wider-size fix. Value and computed tracks widen for figures, and a row-label track for its labels up to 180 px (table-column-widened). Other content may cut (table-column-clipped); remove width for automatic content sizing.
columns[].align (columns[] branch 1 | columns[] branch 2 | columns[] branch 3 | columns[] branch 4 | columns[] branch 5 | columns[] branch 6 | columns[] branch 7)stringCell alignment. Numeric left alignment is accepted but linted. One of 'left', 'right', 'center'.
columns[].headAlign (columns[] branch 1 | columns[] branch 2 | columns[] branch 3 | columns[] branch 4 | columns[] branch 5 | columns[] branch 6 | columns[] branch 7)stringHead alignment; defaults to align. One of 'left', 'right', 'center'.
columns[].emphasis (columns[] branch 1 | columns[] branch 2 | columns[] branch 3 | columns[] branch 4 | columns[] branch 5 | columns[] branch 6 | columns[] branch 7)stringHeader and cell emphasis. 'strong' sets the header and its cells to the emphasis weight (700 by default), 'muted' paints them in the muted ink. A strong column is measured in the bold weight; muted is paint only. One of 'strong', 'muted'.
columns[].band (columns[] branch 1 | columns[] branch 2 | columns[] branch 3 | columns[] branch 4 | columns[] branch 5 | columns[] branch 6 | columns[] branch 7)booleanColumn band ground. Neighboring banded columns read as one block and the first of the run takes the left hairline, so a block inside a column group needs no group of its own. Paint only.
columns[].noteLine (columns[] branch 1 | columns[] branch 2 | columns[] branch 3 | columns[] branch 4 | columns[] branch 5 | columns[] branch 6 | columns[] branch 7)booleanNotes below figures. They use the inline step in muted ink. Default false keeps the note inline after the figure, where a 90 px block track cuts it off; a steering block column says sum under its year-to-date figure. The note takes the first line slot whose change line holds no value in that cell, and where every line holds one, or the row prints none, the row grows by one inline line.
columns[].kind (columns[] branch 1)stringyesKind. One of 'rowLabel'.
columns[].maxWidth (columns[] branch 1)numberLabel width cap in px. Includes indent and affix; explicit width wins.
columns[].maxTextWidth (columns[] branch 1)numberCaps how much the label text adds to the column width, in px. The indent, the unit affix and the collapsed hint come on top of it. It is not a hard cap: when the header or another row makes the column wider, labels use that room. Ignored when width is set; maxWidth still caps the whole track.
columns[].kind (columns[] branch 2)stringyesKind. One of 'value'.
columns[].format (columns[] branch 2 | columns[] branch 3)stringNumber format example. Examples: '€1.2m', '1,234', '+1.2%', '1.2pp', '$1.2bn', '(1.0)'. A magnitude after the number divides the raw value: k, thousand, Tsd., Tausend (10³); m, M, mn, mm, million(s), Mio., Million(en) (10⁶); b, B, bn, billion(s), Mrd., Milliarde(n), milliard(s) (10⁹); tn, trillion(s), Bio., Billionen (10¹²). The letters k, m, M, mm, b, B and T scale when glued to the number or spaced beside a currency ('$1.2 k'); '12 m/s' and '50 B' keep their unit. A scale inside a currency affix ('USDm 1.2', '1.2 €m') holds that divisor. The example's scale word and decimals hold for every value, totals included: '$1.2M' prints 4 as $0.0M and warns format-hides-values with a finer example. A German or French chart prints the scale in its own words (Mrd., Bio.; Md, Bn). Axis ticks take their digits from their spacing, and a statistic such as a mean takes up to one decimal more. A unit alone ('$M', '€bn', '%', 'x') states the prefix, the suffix and any scale word: the default number rule fills the decimals, and the scale words where the unit names none ('$M' prints 15,060,000 and 14,800,000 as $15.06M and $14.80M). A table column moves the unit into its head and picks the cell precision from the data. Spreadsheet number codes translate to examples with warning format-spreadsheet-code; percent values stay percent points. Direction glyphs (▲/▼, ↑/↓) at the start or end of the example carry a sign. A glyph inside the prefix or unit stays literal text. ± carries a sign. A trailing minus marks negatives, '1st' prints English ordinals, and '1.2E+06' prints scientific notation. With no digit, one run of 1–15 @ fixes significant figures: '$@@@M' prints 4,270,000 as $4.27M. A table holds an authored magnitude: under '$1.2k', 2,496,000 prints as 2,496.0 thousand, not as $2.5M. Percent values are authored in POINTS: 6.2 with format '1.2%' renders '6.2%'. A difference of two percent levels uses 'pp', not '%'. A separator followed by exactly three digits after a nonzero integer part is a thousands mark: '1.000' groups thousands with a dot and prints decimals with a comma; write '0.000' for three decimals. The format's unit, $M for '$1.2m', prints once beside subtitle.measure when every value column shares it; without a measure, or with mixed units, each value head carries it, as 'Q1 ($M)'. unitShown true drops it from the heads too.
columns[].scenario (columns[] branch 2)stringHeader scenario: AC, PY, PL or FC. LY means PY (last year); codes accept any case. One of 'AC', 'PY', 'PL', 'FC'.
columns[].polarity (columns[] branch 2 | columns[] branch 3)stringWhich sign is favorable. Judgment tones and directional encodings read it. One of 'higherIsBetter', 'lowerIsBetter'.
columns[].materiality (columns[] branch 2 | columns[] branch 3)objectMute tones where the printed figure is below this threshold; keep values visible.
columns[].materiality.pct (columns[] branch 2 | columns[] branch 3)numberPercent-column threshold in points.
columns[].materiality.abs (columns[] branch 2 | columns[] branch 3)numberOther numeric threshold in source units.
columns[].aggregate (columns[] branch 2)stringParent-row aggregation. Default 'sum' over additive children; 'none' where the column format is a percentage, percentage points or a multiple, or the summand rows carry different units (decimals do not count), since those do not add. An explicit 'sum' there warns aggregate-non-additive. One of 'sum', 'none', 'source'.
columns[].nulls (columns[] branch 2)stringDefault 'propagate'. A missing child then makes the parent '—', with no silent partial sums; 'skip' sums the present values and auto-footnotes 'partial'. One of 'propagate', 'skip'.
columns[].percentScale (columns[] branch 2)stringValues already in points; percent-scale-suspect stays quiet. One of 'points'.
columns[].kind (columns[] branch 3)stringyesKind. One of 'computed'.
columns[].calc (columns[] branch 3)objectyesCalculation over value-column ids. A { row } or { row, previous: true } ref is refused (row-ref-in-column-calc): put cross-row refs in rows[].calc.
columns[].calc.ref (columns[] branch 3; columns[].calc branch 1)string | objectyesCell ref: column id or { row, col?, previous? }.
columns[].calc.ref.row (columns[] branch 3; columns[].calc branch 1)stringyesRow id.
columns[].calc.ref.col (columns[] branch 3; columns[].calc branch 1)stringColumn id. Omitted means the column being evaluated.
columns[].calc.ref.previous (columns[] branch 3; columns[].calc branch 1)truePrior member in this group. The first member is n/a. One of true.
columns[].calc.lit (columns[] branch 3; columns[].calc branch 2)numberyesConstant in source units.
columns[].calc.op (columns[] branch 3; columns[].calc branch 3)stringyesArithmetic on a and b. x/0 prints n.m., 0/0 prints n/a. A division by a negative cell is plain arithmetic and warns 'ratio-negative-base' (info); percentDelta prints n.m. there. One of 'add', 'sub', 'mul', 'div'.
columns[].calc.a (columns[] branch 3; columns[].calc branch 3)objectyesCell or expression.
columns[].calc.b (columns[] branch 3; columns[].calc branch 3)objectyesCell or expression.
columns[].calc.op (columns[] branch 3; columns[].calc branch 4)stringyesAbsolute value. One of 'abs'.
columns[].calc.of (columns[] branch 3; columns[].calc branch 4)objectyesCell or expression.
columns[].calc.op (columns[] branch 3; columns[].calc branch 5)stringyesa minus b. One of 'delta'.
columns[].calc.a (columns[] branch 3; columns[].calc branch 5 | columns[] branch 3; columns[].calc branch 6)string | objectyesCurrent cell.
columns[].calc.a.row (columns[] branch 3; columns[].calc branch 5 | columns[] branch 3; columns[].calc branch 6)stringyesRow id.
columns[].calc.a.col (columns[] branch 3; columns[].calc branch 5 | columns[] branch 3; columns[].calc branch 6)stringColumn id. Omitted means the column being evaluated.
columns[].calc.a.previous (columns[] branch 3; columns[].calc branch 5 | columns[] branch 3; columns[].calc branch 6)truePrior member in this group. The first member is n/a. One of true.
columns[].calc.b (columns[] branch 3; columns[].calc branch 5 | columns[] branch 3; columns[].calc branch 6)string | objectyesReference cell.
columns[].calc.b.row (columns[] branch 3; columns[].calc branch 5 | columns[] branch 3; columns[].calc branch 6)stringyesRow id.
columns[].calc.b.col (columns[] branch 3; columns[].calc branch 5 | columns[] branch 3; columns[].calc branch 6)stringColumn id. Omitted means the column being evaluated.
columns[].calc.b.previous (columns[] branch 3; columns[].calc branch 5 | columns[] branch 3; columns[].calc branch 6)truePrior member in this group. The first member is n/a. One of true.
columns[].calc.op (columns[] branch 3; columns[].calc branch 6)stringyes100*(a-b)/b relative change; n.m. when b is zero or negative, n/a when a and b are both zero. One of 'percentDelta'.
columns[].calc.op (columns[] branch 3; columns[].calc branch 7)stringyesShare of column leaf total. One of 'share'.
columns[].calc.of (columns[] branch 3; columns[].calc branch 7)string | objectyesShare denominator cell.
columns[].calc.of.row (columns[] branch 3; columns[].calc branch 7)stringyesRow id.
columns[].calc.of.col (columns[] branch 3; columns[].calc branch 7)stringColumn id. Omitted means the column being evaluated.
columns[].calc.of.previous (columns[] branch 3; columns[].calc branch 7)truePrior member in this group. The first member is n/a. One of true.
columns[].kind (columns[] branch 4)stringyesKind. One of 'text'.
columns[].wrap (columns[] branch 4)booleanWrap prose and grow its row; do not widen the table. A line break (\n) in a cell starts a new line. Use it for the note column of a scorecard.
columns[].kind (columns[] branch 5)stringyesStatus cell: on-track | at-risk | off-track | done | pending or { v: key }. Green means on-track, amber or yellow means at-risk, and red means off-track; keys and traffic-light words accept any case and conversions warn input-converted. Other text refuses: status-value-invalid. Numbers draw the missing dash and warn: status-value-number; a later release refuses numbers. Each key has a fixed tone. For free status text, use a text column with a cell tone. One of 'status'.
columns[].labels (columns[] branch 5)objectDisplay text per status key, e.g. { pending: 'Learning' }. The key keeps its tone; an unlisted key prints as itself.
columns[].mark (columns[] branch 5)stringHow a status prints. 'chip' (default): a tone wash behind tone-mixed text. 'square': a small tone square before ink text, with no wash. One of 'chip', 'square'.
columns[].kind (columns[] branch 6)stringyesDate cell: an ISO date (YYYY-MM-DD) or { v: date } (other text refuses: date-invalid; numbers draw the missing dash and warn: date-value-number). One of 'date'.
columns[].format (columns[] branch 6)stringDate pattern or example: '30 Sep 2026', 'Sep-26', '2026-09-30', '30.09.2026', '09/30/2026', 'September 2026' or '2026'. Tokens: d, dd, ddd, dddd, M, MM, MMM, MMMM, MMMMM, Q (1), QQ (Q1), QQQ (Quarter 1), w, ww, yy, yyyy and 'quoted literals'. Excel mmm/mmmm name months and 'dd/mm/yyyy' uses lowercase months. YYYY/YY mean year and D/DD mean day. Numeric dates use a day above 12 to choose the order. Otherwise they read day first and warn date-format-ambiguous. A year in front keeps year/month/day. A short year beside a month name with a space or comma also warns when it could be a day. 'FY26' reads the calendar year and gives date-format-fiscal-year (info). Unreadable text warns date-format-unknown and uses 'd MMM yyyy'.
columns[].kind (columns[] branch 7)stringyesKind. One of 'encoding'.
columns[].encoding (columns[] branch 7)objectyesSparkline over other columns; no own cell values.
columns[].encoding.type (columns[] branch 7)stringyesPer-row mini line or column over sourceColumns; null values leave gaps in source order. One of 'sparkline'.
columns[].encoding.kind (columns[] branch 7)stringShape. Default 'line'. 'column' is zero-anchored. One y-domain is shared across visible rows of this column. One of 'line', 'column'.
columns[].encoding.sourceColumns (columns[] branch 7)arrayyesOrdered numeric source columns; they remain visible. The last observed source value is labeled from that cell's formatted text. Without a column width the track is 88 px or wider, so that label prints whole; a width fixes the track and cuts a longer label.
rowsarrayyesRow hierarchy; totalPosition determines resolved display order. Rows: optional label,id; each value, text, status or date column reads the source field named like its id.
rows[].idstringyesNonempty reference id.
rows[].labelstringVisible name; defaults to id.
rows[].parentIdstringFlat canonical hierarchy. Alternative: nested children sugar.
rows[].kindstringPresentation kind. subtotal: children add up to it; result: a calc of rows above, never added; driver: explains a line, never added. One of 'section', 'member', 'measure', 'detail', 'split', 'subtotal', 'result', 'driver'.
rows[].signnumberSubtracts from its parent. One of -1.
rows[].operatorstringOperator glyph. One of '+', '−', '×', '÷', '='.
rows[].finaltrueClosing rule under a result. One of true.
rows[].rungintegerPresentation rung. Section and split rows do not add depth.
rows[].rolestringData, total or section row. One of 'data', 'total', 'section'.
rows[].relationstringWhich rows a parent sums. 'ofWhich' and 'displayOnly' are EXCLUDED from parent aggregation — display hierarchy is not the accounting model. One of 'additive', 'ofWhich', 'displayOnly'.
rows[].totalPolicystringderive: computed from children (authored value linted). validate (default when a value is authored): authored value displays, difference vs the computed sum is reported — verify ≠ overwrite. source: trusted, no comparison. One of 'derive', 'validate', 'source'.
rows[].calcobjectCalculation per numeric column. Same algebra as computed columns. Requires relation ofWhich or displayOnly. Cross-row refs { row } and { row, previous: true } are for this field.
rows[].calc.ref (rows[].calc branch 1)string | objectyesCell ref: column id or { row, col?, previous? }.
rows[].calc.ref.row (rows[].calc branch 1)stringyesRow id.
rows[].calc.ref.col (rows[].calc branch 1)stringColumn id. Omitted means the column being evaluated.
rows[].calc.ref.previous (rows[].calc branch 1)truePrior member in this group. The first member is n/a. One of true.
rows[].calc.lit (rows[].calc branch 2)numberyesConstant in source units.
rows[].calc.op (rows[].calc branch 3)stringyesArithmetic on a and b. x/0 prints n.m., 0/0 prints n/a. A division by a negative cell is plain arithmetic and warns 'ratio-negative-base' (info); percentDelta prints n.m. there. One of 'add', 'sub', 'mul', 'div'.
rows[].calc.a (rows[].calc branch 3)objectyesCell or expression.
rows[].calc.b (rows[].calc branch 3)objectyesCell or expression.
rows[].calc.op (rows[].calc branch 4)stringyesAbsolute value. One of 'abs'.
rows[].calc.of (rows[].calc branch 4)objectyesCell or expression.
rows[].calc.op (rows[].calc branch 5)stringyesa minus b. One of 'delta'.
rows[].calc.a (rows[].calc branch 5 | rows[].calc branch 6)string | objectyesCurrent cell.
rows[].calc.a.row (rows[].calc branch 5 | rows[].calc branch 6)stringyesRow id.
rows[].calc.a.col (rows[].calc branch 5 | rows[].calc branch 6)stringColumn id. Omitted means the column being evaluated.
rows[].calc.a.previous (rows[].calc branch 5 | rows[].calc branch 6)truePrior member in this group. The first member is n/a. One of true.
rows[].calc.b (rows[].calc branch 5 | rows[].calc branch 6)string | objectyesReference cell.
rows[].calc.b.row (rows[].calc branch 5 | rows[].calc branch 6)stringyesRow id.
rows[].calc.b.col (rows[].calc branch 5 | rows[].calc branch 6)stringColumn id. Omitted means the column being evaluated.
rows[].calc.b.previous (rows[].calc branch 5 | rows[].calc branch 6)truePrior member in this group. The first member is n/a. One of true.
rows[].calc.op (rows[].calc branch 6)stringyes100*(a-b)/b relative change; n.m. when b is zero or negative, n/a when a and b are both zero. One of 'percentDelta'.
rows[].calc.op (rows[].calc branch 7)stringyesShare of column leaf total. One of 'share'.
rows[].calc.of (rows[].calc branch 7)string | objectyesShare denominator cell.
rows[].calc.of.row (rows[].calc branch 7)stringyesRow id.
rows[].calc.of.col (rows[].calc branch 7)stringColumn id. Omitted means the column being evaluated.
rows[].calc.of.previous (rows[].calc branch 7)truePrior member in this group. The first member is n/a. One of true.
rows[].formatstringNumber format example. Examples: '€1.2m', '1,234', '+1.2%', '1.2pp', '$1.2bn', '(1.0)'. A magnitude after the number divides the raw value: k, thousand, Tsd., Tausend (10³); m, M, mn, mm, million(s), Mio., Million(en) (10⁶); b, B, bn, billion(s), Mrd., Milliarde(n), milliard(s) (10⁹); tn, trillion(s), Bio., Billionen (10¹²). The letters k, m, M, mm, b, B and T scale when glued to the number or spaced beside a currency ('$1.2 k'); '12 m/s' and '50 B' keep their unit. A scale inside a currency affix ('USDm 1.2', '1.2 €m') holds that divisor. The example's scale word and decimals hold for every value, totals included: '$1.2M' prints 4 as $0.0M and warns format-hides-values with a finer example. A German or French chart prints the scale in its own words (Mrd., Bio.; Md, Bn). Axis ticks take their digits from their spacing, and a statistic such as a mean takes up to one decimal more. A unit alone ('$M', '€bn', '%', 'x') states the prefix, the suffix and any scale word: the default number rule fills the decimals, and the scale words where the unit names none ('$M' prints 15,060,000 and 14,800,000 as $15.06M and $14.80M). A table column moves the unit into its head and picks the cell precision from the data. Spreadsheet number codes translate to examples with warning format-spreadsheet-code; percent values stay percent points. Direction glyphs (▲/▼, ↑/↓) at the start or end of the example carry a sign. A glyph inside the prefix or unit stays literal text. ± carries a sign. A trailing minus marks negatives, '1st' prints English ordinals, and '1.2E+06' prints scientific notation. With no digit, one run of 1–15 @ fixes significant figures: '$@@@M' prints 4,270,000 as $4.27M. A table holds an authored magnitude: under '$1.2k', 2,496,000 prints as 2,496.0 thousand, not as $2.5M. Percent values are authored in POINTS: 6.2 with format '1.2%' renders '6.2%'. A difference of two percent levels uses 'pp', not '%'. A separator followed by exactly three digits after a nonzero integer part is a thousands mark: '1.000' groups thousands with a dot and prints decimals with a comma; write '0.000' for three decimals. On a row: a calc row (and an inline row) prints its result through it everywhere, so a MoM subrow prints +1.2% in a money column; a data row prints its cells through it on every column that names no format of its own, so KPI rows carry their own units across month columns. A computed column that is not additive (percent change, share, multiply, divide) keeps its own kind: a data row's format does not reach it.
rows[].polaritystringRow judgment direction. It overrides the column polarity in every column that judges a change, and judges every cell of a calc or inline row; a level column without a polarity stays uncolored. A table that colors both directions prints a note naming the rows that read the other way. One of 'higherIsBetter', 'lowerIsBetter'.
rows[].inlinetrueLine below the parent value. Its row label stays on that baseline; it has no row of its own. Requires relation 'displayOnly'. Its values carry data-id cellline:<parentRow>:<column>:<line> (not cell:<row>:<column>). Scene-ID components escape % as %25 and : as %3A. Authored IDs stay unchanged. One of true.
rows[].inlineGroupstringWhich switch hides this line. Rows that share a group hide together; the default is the row id.
rows[].scalestringRow precision. The max absolute value uses only cells without a cell or column format. Money: 1 decimal in k at max >= 1000, else whole units; it climbs k, M, B by its largest value unless options.magnitude is thousand or million, which a money row follows (whole thousands from 100,000 up). Per unit: fractional values keep authored precision. Without a format, start whole at max >= 10, else 1 decimal, then raise precision for rounding error above 1%, up to 20 decimals. Integer-only rows keep those defaults. It overrides table magnitude. Currency goes in unitAffix. Scaled money and automatic count rows add decimals for rounding error above 1%, up to 20; held whole thousands stay whole. Nonzero stays nonzero. Count/percent keep format. One of 'money', 'perUnit', 'count', 'percent'.
rows[].unitAffixstringUnit beside the row label. Muted ink on the same line: $M, # orders. It takes no second line, so the change lines under the label stay level with the ones under the values. A forced options.magnitude overrides it with the scale letter it hoists out of this row's cells.
rows[].missingstringRow gap glyph. 'blank' leaves a MISSING cell of this row empty, 'dash' prints the em dash; omitted, the row takes options.nulls. Set it on a change line with no value in a block column, so that slot stays empty while the real gaps keep their dash. The explicit states na, nm and suppressed keep their glyphs. One of 'blank', 'dash'.
rows[].spacernumberGap before the row in px; the first drawn row takes none.
rows[].foldablefalseNever folds. No toggle or mark; its children always show. One of false.
rows[].badgeobjectSection chip. Refused on other rows.
rows[].badge.textstringyesText.
rows[].badge.tonestringDefault neutral. One of 'good', 'warn', 'bad', 'neutral'.
rows[].cellsobjectCells by column id; computed columns and calc rows use their calculation.
rows[].cells.*.vnumber | string | nullValue before formatting. null means missing, as for a scalar null cell.
rows[].cells.*.notestringInline annotation, e.g. '(−51%)'.
rows[].cells.*.strongtrueStrong good. Kept under exceptions. One of true.
rows[].cells.*.tonestringCell judgment tone. One of 'good', 'bad', 'warn', 'neutral'.
rows[].cells.*.bandsarrayValue bands. Each band has an upper bound to (cell units before formatting, ascending), a tone (default neutral) and a label. The cell takes the first band whose to is at or above its value: below the first bound it takes the first band, above the last it takes the last. Precedence: cell tone, then bands, then sign judgment. Missing, n/a, n.m., suppressed and open cells are not judged; text cells ignore bands. The label shows on hover and in the accessible table.
rows[].cells.*.bands[].tonestringTone. One of 'good', 'warn', 'bad', 'neutral'.
rows[].cells.*.bands[].tonumberyesUpper bound.
rows[].cells.*.bands[].labelstringName.
rows[].cells.*.hrefstringHTML renderer emits a link; SVG renders text.
rows[].cells.*.statestringExplicit non-value state; 'na' → n/a · 'nm' → n.m. · 'suppressed' → — with footnote · 'open' → a period still to come, empty on the band ground. Distinct from null (missing → '—'). One of 'na', 'nm', 'suppressed', 'open'.
rows[].cells.*.missingstringOverride the missing glyph for this cell. blank leaves no glyph; dash uses the theme missing glyph. One of 'blank', 'dash'.
rows[].cells.*.heatfalseKeeps the cell out of its heat lane. false draws it unshaded in the muted ink and leaves it out of the range (a calendar M0 diagonal). One of false.
rows[].cells.*.formatstringNumber format example. Examples: '€1.2m', '1,234', '+1.2%', '1.2pp', '$1.2bn', '(1.0)'. A magnitude after the number divides the raw value: k, thousand, Tsd., Tausend (10³); m, M, mn, mm, million(s), Mio., Million(en) (10⁶); b, B, bn, billion(s), Mrd., Milliarde(n), milliard(s) (10⁹); tn, trillion(s), Bio., Billionen (10¹²). The letters k, m, M, mm, b, B and T scale when glued to the number or spaced beside a currency ('$1.2 k'); '12 m/s' and '50 B' keep their unit. A scale inside a currency affix ('USDm 1.2', '1.2 €m') holds that divisor. The example's scale word and decimals hold for every value, totals included: '$1.2M' prints 4 as $0.0M and warns format-hides-values with a finer example. A German or French chart prints the scale in its own words (Mrd., Bio.; Md, Bn). Axis ticks take their digits from their spacing, and a statistic such as a mean takes up to one decimal more. A unit alone ('$M', '€bn', '%', 'x') states the prefix, the suffix and any scale word: the default number rule fills the decimals, and the scale words where the unit names none ('$M' prints 15,060,000 and 14,800,000 as $15.06M and $14.80M). A table column moves the unit into its head and picks the cell precision from the data. Spreadsheet number codes translate to examples with warning format-spreadsheet-code; percent values stay percent points. Direction glyphs (▲/▼, ↑/↓) at the start or end of the example carry a sign. A glyph inside the prefix or unit stays literal text. ± carries a sign. A trailing minus marks negatives, '1st' prints English ordinals, and '1.2E+06' prints scientific notation. With no digit, one run of 1–15 @ fixes significant figures: '$@@@M' prints 4,270,000 as $4.27M. A table holds an authored magnitude: under '$1.2k', 2,496,000 prints as 2,496.0 thousand, not as $2.5M. Percent values are authored in POINTS: 6.2 with format '1.2%' renders '6.2%'. A difference of two percent levels uses 'pp', not '%'. A separator followed by exactly three digits after a nonzero integer part is a thousands mark: '1.000' groups thousands with a dot and prints decimals with a comma; write '0.000' for three decimals. On a cell: a value or computed cell prints through its own format, ahead of its row's and its column's. A YoY column in '+1.2%' prints the change of a share KPI in points with '+1.2pp' on that one cell. The text, the hover card, the accessible table and the width fitting all use it.
rows[].childrenarrayChild rows; normalized to parentId.
levelNounsarrayChild nouns by level. Indexed by the level they name: levelNouns[1] names level-1 children. A collapsed parent appends "· 4 markets" only where the noun is authored — nothing is invented.
levelNouns[].onestringyesSingular noun, e.g. "market".
levelNouns[].otherstringyesPlural noun, e.g. "markets".

Options

PathTypeValuesDefaultMeaning
mountCollapsedbooleanDefault true. false removes closed descendants from the React DOM and defers offscreen leaf paint.
paintOffscreenRowsbooleanReact only. true paints every mounted row at once, so a capture of a long table has no blank rows, and a long table paints slower. Default false. Closed rows follow mountCollapsed.
signsstring'signed', 'operators', 'plain'How sign -1 rows print. signed (default) negates them; operators draws + − × =; plain draws neither.
driverTonesstring'grouped', 'always', 'never'Driver tones. 'grouped' (default): drivers with a parentId whose parent is not a section heading do, as statement lines do. 'always': every driver. 'never': driver ink only, as before 0.28. Neutral figures and labels keep the driver ink.
judgmentsstring'all', 'exceptions'Which tones show. exceptions: strong good and bad only.
variantstring'steering', 'benchmark', 'status', 'receipts', 'hierarchy''hierarchy'Variant defaults only; no variant changes what a cell accepts. Default 'hierarchy'. 'steering': total on top, no group band. 'benchmark': strong row labels, no group band. 'status': square status chips. 'receipts': dates align right. A status cell, in any variant, takes a status-column key; for free status text use a text column with a cell tone.
encodingsobjectPer-column opt-in visual encodings.
encodings.*.type (encodings.* branch 5)string'arrow'Select the arrow lane.
encodings.*.scale (encodings.* branch 5)string'absolute', 'relative''absolute' cuts the change itself at 10 and 2 (points on a percent column); 'relative' cuts its share of the column's largest change at 10% and 2%. Default 'absolute' on a percent column, 'relative' elsewhere.
encodings.*.type (encodings.* branch 6)string'heat'Select the heat lane.
encodings.*.cap (encodings.* branch 6)objectWhere the lane saturates; without it the largest magnitude in the column does, on both sides of zero. Lanes with different caps add the note that shading compares values within each column.
encodings.*.cap.pct (encodings.* branch 6)numberPercent-column tint cap in points. Example: 20 for a ±20% YoY lane.
encodings.*.cap.abs (encodings.* branch 6)numberOther numeric tint cap in source units.
encodings.*.alpha (encodings.* branch 6)numberTint weight at the cap; default 0.18, and 0.26 on scale 'status', where every painted cell takes it. Text stays readable up to 0.18 on every shipped theme and up to 0.35 on a status ground; above that the figures take the contrast ink.
encodings.*.excludeTotals (encodings.* branch 6)booleanLeave total rows untinted; default true. Heat reads a variance, and a total has none worth coloring.
encodings.*.steps (encodings.* branch 6)integerBand count. 5 gives the cohort ladder: 6 / 14 / 26 / 42 % of the ink over the background, then the full ink with inverse text, from the theme token surface.heatSteps. A stepped lane measures the data rows only, so a closing row does not set the scale.
encodings.*.scale (encodings.* branch 6)string'column', 'absolute', 'diverging', 'status'Where a band comes from. 'column' (default) normalizes over this column's own min and max; with two or more such columns the table adds the note that shading compares values within each column. 'absolute' cuts at bins, so every column of a grid reads on one scale. 'diverging' measures the distance from the column average and paints good above and bad below; under polarity 'lowerIsBetter' the sides swap. 'status' is a traffic light against the same center: a value within tolerance of it paints warn, farther above good and farther below bad, the other way round on a column with polarity lowerIsBetter; it reads no steps, bins, span or cap.
encodings.*.bins (encodings.* branch 6)arrayAscending band edges. On scale 'absolute' a value takes the band of the last edge it reaches (e.g. [30, 40, 50, 60] gives five bands); on 'diverging' they are the |distance| edges, default [1, 4]. Given without steps, they set the band count themselves.
encodings.*.span (encodings.* branch 6)numberSpread that fills a column ramp. Measured in column units; a smaller spread takes bands from the lightest up, so a spread of 1 point is not painted like one of 30. Omitted, every column's own min and max fill the ramp.
encodings.*.center (encodings.* branch 6)string'total'Center: column total. On scales 'diverging' and 'status' a reader can check every band against that printed figure. Omitted, or in a column without a total row value, the center is the average of the column's data rows.
encodings.*.tolerance (encodings.* branch 6)objectWarn band of scale 'status'. A value at most this far from the center paints warn, the boundary included; default { pct: 5 }. Give exactly one of pct and abs.
encodings.*.tolerance.pct (encodings.* branch 6)numberPercent of the center. 5 reads 62 to 68 as warn around 65.
encodings.*.tolerance.abs (encodings.* branch 6)numberColumn units. 2 reads 63 to 67 as warn around 65.
encodings.*.columns (encodings.* branch 6)arrayFurther columns this rule paints. A sixty-column cohort grid names its lane once instead of sixty times, and a column that carries its own entry keeps it. Leave a column out to keep it unshaded.
totalPositionstring'top', 'bottom'Total-row position; variant supplies the default.
densitystring'compact', 'regular', 'relaxed', 'cohort', 'cohort-small''regular'Cell spacing. 'compact' keeps half of each row's regular air, rounded down (theme table.compactStep sets a fixed step instead), and 'relaxed' adds 2 px above and below; type, heads and cell air keep their size. Before a size refusal, the static table retries with compact spacing, tight margins and automatic height unless belowMinimum is 'refuse'. Where a fixed width or height still misses, cell air, column gaps and margins shrink to 2 px air and 4 px gaps, and row air to 1 px where the height misses; a 'table-tight-spacing' warning names the size for compact spacing. 'cohort' and 'cohort-small' are the fixed matrix grids of a cohort table: rows of 26 px (20 px) whatever the level, cells one (two) steps under the label, heads on the axis step, and value columns centered unless the column names its own alignment.
nullsstring'blank', 'dash'What a MISSING cell prints. 'dash' (the default) keeps the em dash; 'blank' leaves it empty, which is what a cohort staircase needs — a cohort acquired in May has not been observed at M8, and a triangle of dashes is noise. The explicit states na, nm and suppressed keep their glyphs.
figuresbooleanPrint the cell figures; default true. false draws the heat grounds alone in 22 px cells, over any width authored for the figures, on 14 px rows or the line box of the text a row still prints where that is taller, so a sixty-column triangle fits one screen. The heads keep their labels and the numbers stay in the markup for a reader who cannot see the grounds. Refused on a table without a heat lane in encodings.
expansionobjectExpansion order: depth, collapsed, expanded.
expansion.depthinteger | string'all', 'totals' (or another value of its type)Parents at levels below depth start expanded; 'all' or omission expands every parent; 'totals' shows the totals alone.
expansion.collapsedarrayRow-id overrides applied after depth.
expansion.expandedarrayRow-id overrides applied last; they win over collapsed.
expansion.rootsHiddenbooleanHide level-0 data rows and subtrees. The totals and the section headings stay: this is the totals-only step of a depth control, which collapsing a parent cannot reach, because a collapsed parent still draws its own row.
columnVisibilityobjectTrue shows a column and false leaves it out: the ids are data.columnToggles ids on table and column ids elsewhere.
columnHeadsfalsefalsefalse: no visible head row and no group heads, with their height and rule. Assistive technology still reads the head in React, and sortable warns there.
inlineVisibilityobjectVisibility by inlineGroup. An absent group is visible, so a Changes control hides every MoM line of a table with one entry.
magnitudestring'auto', 'thousand', 'million'Money scale for all rows and columns. 'thousand' prints whole thousands, 'million' keeps the example's decimals, and no column rolls up on its own. The scale letter leaves the cells and hoists to the frame, the column header or, where the format sits on the row, the row label. 'auto' (the default) lets each column and money row pick from its own largest value.
foldOnstring'row', 'toggle'React only. What folds a parent row. 'row': a click on the row folds it, and selects it too where the host made it selectable. 'toggle': only the fold mark folds; a row click only selects. Default: 'toggle' for a selectable row, else 'row'. Enter and Space follow the click.
groupGroundstring'expanded', 'always', 'none'Group row ground. 'expanded' (default): only an open group's header row. 'always': folded or open, as before 0.28. 'none': no group ground. The Total keeps its ground. Absent: theme table.groupGround.
anchorWashbooleanWash expanded level-0 anchors; no control.
stickyLabelsboolean | integer | objectPin header and columns. React only; static output shows the whole table. true pins one column, a number pins that many (2 for a cohort grid), and the last carries a hairline shadow. The object form sets head, columns, top and sections. Page mode is refused with React fillHeight. Off in print.
stickyLabels.headstring | false'table', 'page', falseHead pin mode. 'table' (default): in the table's own scroll box, which the host sizes. 'page': to the page scroll at top px; the body has no vertical scroll box, and no overflow ancestor may sit above the table. false: no pinned head.
stickyLabels.columnsintegerColumns. Default 1.
stickyLabels.topnumberOffset in px. Clears a host toolbar. Default 0; above 0 needs head: 'page'.
stickyLabels.sectionsbooleanSection label. Default false. true keeps the active section label under the head until the next section starts.
frameFillstring'values', 'none''values'Under rowExtent 'frame'. 'values' (default): automatic value tracks grow in whole pixels, up to maxGrowth (default 2.5). An unauthored label track takes the rest. 'none': columns keep their widths; an empty track carries the row ground and rules to the edge.
heightFillstring'rows', 'none''rows'Spare canvas height. 'rows' (default) spreads it over leaf rows as air, up to 16 px a side. 'none' leaves it empty.
rowLabelLinesinteger2Lines a row label may take before a cut (default 2). A label breaks at a space or after _ - / or a dot, so a long campaign name wraps instead of ending in '…'. 1 keeps every label on one line; a higher count lets a row grow to its lines. A cut label keeps its full name in its title.
lastTrackFlexbooleanLast unauthored track takes the spare frame width when rowExtent is tracks. Default false.
rowExtentstring'tracks', 'frame''frame'Where rows end. 'frame' (default) fills the width inside the frame margins. An explicit 'frame' also carries row grounds and rules through authored side margins. frameFill controls track growth. 'tracks' stops rows at the last column. Column bands stop at their columns. Tables use horizontal rules and explicit column separators; there is no single vertical end rule.
sortIndicatorstring'all', 'sorted'Sortable headers with a chevron. 'all' (the default) draws one on every sortable header; 'sorted' draws it on the sorted one alone and keeps the others' reserve, so no track moves.
levelOffsetintegerShift body rows down the ladder. Default 0. A board whose top rows are groups rather than KPI lines reads one rung too heavy: 1 steps them down in size, weight, air, ground, indent and label ink, -1 steps them up. The rungs stay floored at the top and at the deepest step.
cellPadXnumberHorizontal cell padding in px. Default 12; only when it cannot fit, use 5 for 20–24 columns or 3 for 25 or more.
groupRulestring'label', 'span''span'Heading rule. 'span' (default) rules every column of the group, so it shows which columns the heading covers; 'label' underlines the heading text alone.
groupAlignstring'left', 'center', 'right''center'Heading position. 'center' (default) centers the heading over its columns; in the React grid a group wider than the visible scroll area starts its heading at the first column, and the heading stays in view while the group scrolls. 'left' always starts it at the first column, 'right' ends it at the last. A heading wider than its columns starts at the first column.
maxGrowthnumber | falsefalse (or another value of its type)2.5Value-track growth cap; default 2.5, false removes the cap. Applies to SVG and React frame fill; the label track takes the remaining width. Also caps React container fit growth.
labelIndentobjectTree indent from row edge. Absent: cell air without marks; cell air plus 24 with outlineMarks: true or interactive fold buttons. Then 16 per rung.
labelIndent.basenumberLevel-0 start from row edge, padding included.
labelIndent.stepnumberpx per rung; default 16.
outlineMarksbooleanfalseFold marks beside parent rows. Drawn in static SVG/PNG and read-only grids. Default false: no marks or gutter. true draws the marks and reserves their gutter. Interactive grids keep their fold buttons either way.

Plus the shared options. This type does not accept detailFields, labels, labelPosition, valueAxis, story, hatchStrength, rounding, annotations. This type ignores animate, debug, rowLabels, categoryAxis, categoryLabels, secondaryAxis, bandFraction, valueAxis.show, valueAxis.gridlines, focus, labelDensity with an option-ignored warning.

Annotations

This type takes no annotations.

A wide table at the width it is shown at

Pick the target and render the table at the width the page shows it at; let the rows set the height: target: "report" and size: { width: 1050 } for a 1,050 px report column. A table drawn at 1,233 px and scaled into that column by the host shrinks every font to 85 percent, more than the 10 percent a chart may shrink. Column widths spread the tracks across the frame; without them the table keeps its natural width and the rest of the frame stays margin.

The target sets the text size. At 1,050 px a report table is in the M class: 15 px body and row labels, 14 px column heads. A dashboard table takes target: "dashboard". theme.overrides still sets a role size in every width class, type.label.size for the body and the row labels and type.axis.size for the column heads; a size below the target's floor warns. Put the width the host shows the SVG at in embed.width: if the host still scales the table down, type-below-effective-min names the narrowest width at which the text stays readable.

When the columns do not fit at that width, the size refusal names one minimum width, measured in the type the table uses at that width, and rendering at it works. If that is wider than the page, split the table or drop columns instead of scaling it down. The fixture wide-at-destination-width draws this table.

{
  "type": "table",
  "data": {
    "columns": [
      { "id": "region", "kind": "rowLabel", "label": "Sales region", "width": 210 },
      { "id": "q1", "kind": "value", "label": "Q1 2025", "format": "1,234", "width": 98 },
      { "id": "q2", "kind": "value", "label": "Q2 2025", "format": "1,234", "width": 98 },
      { "id": "q3", "kind": "value", "label": "Q3 2025", "format": "1,234", "width": 98 },
      { "id": "q4", "kind": "value", "label": "Q4 2025", "format": "1,234", "width": 98 },
      { "id": "q5", "kind": "value", "label": "Q1 2026", "format": "1,234", "width": 98 },
      { "id": "q6", "kind": "value", "label": "Q2 2026", "format": "1,234", "width": 98 },
      { "id": "q7", "kind": "value", "label": "Q3 2026", "format": "1,234", "width": 98 },
      { "id": "q8", "kind": "value", "label": "Q4 2026", "format": "1,234", "width": 98 }
    ],
    "rows": [
      {
        "id": "north",
        "label": "North",
        "cells": {
          "q1": 1200,
          "q2": 1305,
          "q3": 1310,
          "q4": 1415,
          "q5": 1420,
          "q6": 1425,
          "q7": 1530,
          "q8": 1535
        }
      },
      {
        "id": "central",
        "label": "Central",
        "cells": {
          "q1": 1650,
          "q2": 1655,
          "q3": 1660,
          "q4": 1665,
          "q5": 1770,
          "q6": 1775,
          "q7": 1780,
          "q8": 1785
        }
      },
      {
        "id": "south",
        "label": "South",
        "cells": {
          "q1": 1880,
          "q2": 1985,
          "q3": 1990,
          "q4": 1995,
          "q5": 2040,
          "q6": 2125,
          "q7": 2130,
          "q8": 2135
        }
      },
      {
        "id": "west-coast",
        "label": "West coast",
        "cells": {
          "q1": 2190,
          "q2": 2195,
          "q3": 2280,
          "q4": 2285,
          "q5": 2290,
          "q6": 2395,
          "q7": 2400,
          "q8": 2405
        }
      },
      {
        "id": "east-coast",
        "label": "East coast",
        "cells": {
          "q1": 2440,
          "q2": 2525,
          "q3": 2530,
          "q4": 2535,
          "q5": 2620,
          "q6": 2625,
          "q7": 2630,
          "q8": 2715
        }
      },
      {
        "id": "islands",
        "label": "Islands",
        "cells": {
          "q1": 2750,
          "q2": 2755,
          "q3": 2760,
          "q4": 2845,
          "q5": 2870,
          "q6": 2875,
          "q7": 2960,
          "q8": 2965
        }
      }
    ]
  },
  "options": {
    "title": "Every region sold more in 2026 than a year before",
    "subtitle": { "measure": "Units sold", "period": "Q1 2025 to Q4 2026" },
    "source": "Synthetic data for an invented retailer",
    "target": "report",
    "size": { "width": 1050 },
    "embed": { "width": 1050 }
  }
}

Statements: signs, subtotals, results and drivers

A table prints an accounting statement, such as a P&L or a contribution-margin statement, from figures that the host supplies. Use it when the host has the figures, for example a P&L from the ledger. When boardplot must compute the lines from additive sums per period, use a dimswitch statement instead: see dimswitch.

Four row fields make the statement:

result and driver rows are never added to a parent: they imply relation displayOnly, and boardplot refuses another relation on them, because a result added to its parent counts the parent twice. sign needs relation additive. A calc reads the supplied values, before any sign: Gross profit = revenue − cost of sales, with cost of sales positive.

options.signs decides how a sign prints. "signed" (the default) prints the figures of a row with contribution sign −1 negated, and its absolute changes too, so the column adds up from top to bottom; a relative or pp change and a ratio of two cells keep their sign, and a driver or result prints its own value. An arrow and a column sort follow the printed sign, while tone, heat and bars judge the figure you supplied. "operators" prints the figures as supplied and puts an operator before the label: − for sign: -1, = for a result, and row.operator where you set it (+, −, ×, ÷ or =). "plain" prints neither. A table without sign: -1 rows prints the same in all three modes.

options.judgements: "exceptions" keeps only the strong good and the bad colors; good and warn cells print neutral. Use it when a full heat map is too loud.

options.driverTones decides whether a driver row shows the tones its figures earn. "grouped" (the default) shows them for a driver that has a parentId whose parent is not a section heading, as the lines of a statement do; a flat driver and a driver under a section heading keep the driver ink. "always" shows them for every driver, and "never" keeps the driver ink everywhere, as before 0.28. A neutral figure and the label keep the driver ink, and the italic face stays. A dimswitch statement takes the option too: its drivers sit under their lines, so they show their tones by default.

Every color, weight and rule of a table is a theme key, so the client decides the look. table.inks sets the inks of the heads, sub-labels, labels, child labels, figures, qualifiers, operators, drivers and fold toggles; for gray absolute numbers set table.inks.figure. table.weights sets the label weights of members, measures, subtotals and results, their figure weights in figures, the Range and vs prior block in block, and the change lines in change. table.ruleWidths.head, table.resultRule, table.finalRule, table.driver.italic, table.qualifier, table.section.case, table.toggle, table.operator.width and table.grounds.subtotal and .total set the rest. Every key has a default that keeps the drawing of 0.24.

tableLooks.sheet from boardplot is a ready look: the report sheet with filled judgment cells, a 2 px head rule, gray subtotal grounds, bold results with a double closing rule and italic drivers. Use it as theme: { "preset": "boardroom", "overrides": tableLooks.sheet } and change any key on top of it. It is an option; no table takes it by default. Column heads print in capitals by default. The text after the last comma, text in parentheses or square brackets, and a word with a capital inside it stay as written, so Standby power (mW) prints STANDBY POWER (mW) and eBay sales prints eBay SALES; table.head.case: "asis" keeps the whole head as written ($k).

{
  "type": "table",
  "data": {
    "columns": [
      { "id": "line", "kind": "rowLabel", "label": "$k" },
      { "id": "fy25", "kind": "value", "label": "FY2025", "format": "1,234" },
      { "id": "fy26", "kind": "value", "label": "FY2026", "format": "1,234" },
      {
        "id": "chg",
        "kind": "computed",
        "label": "Change",
        "calc": { "op": "delta", "a": "fy26", "b": "fy25" },
        "format": "+1,234"
      }
    ],
    "rows": [
      {
        "id": "revenue",
        "label": "Revenue",
        "kind": "subtotal",
        "children": [
          { "id": "product", "label": "Product sales", "cells": { "fy25": 8200, "fy26": 9100 } },
          { "id": "services", "label": "Services", "cells": { "fy25": 1300, "fy26": 1500 } },
          {
            "id": "units",
            "label": "Units sold (k)",
            "kind": "driver",
            "cells": { "fy25": 41, "fy26": 45 }
          }
        ]
      },
      {
        "id": "cogs",
        "label": "Cost of sales",
        "kind": "subtotal",
        "sign": -1,
        "children": [
          { "id": "materials", "label": "Materials", "cells": { "fy25": 3900, "fy26": 4300 } },
          { "id": "freight", "label": "Freight", "cells": { "fy25": 600, "fy26": 700 } }
        ]
      },
      {
        "id": "gp",
        "label": "Gross profit",
        "kind": "result",
        "calc": { "op": "sub", "a": { "ref": { "row": "revenue" } }, "b": { "ref": { "row": "cogs" } } }
      },
      {
        "id": "opex",
        "label": "Operating expenses",
        "kind": "subtotal",
        "sign": -1,
        "children": [
          { "id": "staff", "label": "Staff", "cells": { "fy25": 2400, "fy26": 2550 } },
          { "id": "marketing", "label": "Marketing", "cells": { "fy25": 900, "fy26": 1150 } }
        ]
      },
      {
        "id": "ebit",
        "label": "EBIT",
        "kind": "result",
        "final": true,
        "calc": { "op": "sub", "a": { "ref": { "row": "gp" } }, "b": { "ref": { "row": "opex" } } }
      }
    ]
  },
  "options": { "title": "EBIT rises 200 to 1,900 as revenue grows faster than costs", "signs": "signed" }
}

Group grounds, folds, frames and fitted formats

On every target, a missing input prints n/a (German k. A.) in values and calculations. A row keeps its missing glyph when it has no previous column in its group. A later 0/0 calculation prints n/a. A calculation skipped for an incompatible computed column keeps its placeholder. Explicit missing glyphs, nulls: blank, cohort density and table.noPrevious keep their existing missing-cell rules.

groupGround decides which group rows carry the group ground (the emphasis and band grounds of the top two rungs, under a preset that draws them). "expanded" (the default, a 0.28 change) grounds only the header row of an open group, so a folded group row, and a leaf on its rung, look like normal rows; the Total keeps its own ground. "always" keeps the 0.27 look: every group row and every leaf on its rung, folded or open. "none" draws no group ground. The theme key table.groupGround sets the default for a look such as sheet; the table option wins. SVG and grid agree.

foldOn (React) says what folds a parent row. "row": a click on the row folds it, and selects it too where the host made it selectable. "toggle": only the fold mark folds, and a row click only selects. The default is "toggle" for a selectable row (an onRowSelect host that does not narrow isRowSelectable) and "row" for any other row. Enter and Space on a cell do what the click does.

A depth control writes options.expansion.depth: a number, "all", or "totals", the totals step that folds every parent and shows the totals and the section headings alone. A table without a total row keeps its level-0 rows, folded, under open section headings, so the step never leaves an empty body. In React a mounted table follows a new expansion: the reader's folds give way to it, while scroll and column toggles stay and the rows fold and open with their animation (none under reduced motion). When the row that holds the focus folds away, the focus moves to its parent. onExpansionChange reports each reader fold as an expansion (the authored lists rewritten); a control shows no depth pressed while the lists differ from the ones it wrote, and stores the report in the spec so that a later press of the same depth is a change. A dimswitch reports the fold through onViewChange (reason "collapsed"); a host that controls collapsed and sets it back to undefined gets the folds of the depth back.

Under rowExtent: "frame" the rows reach the frame edge, and frameFill (default "values") grows the value and computed tracks, in proportion to their widths and in whole px, until the columns end at that edge too: the row ground, the rules, the band columns and the cell tones all end together, and an authored width is a minimum. frameFill: "none" keeps the 0.27 look, where the columns keep their widths and an empty stretch carries the row ground and the rules to the edge. A table wider than its frame is not squeezed, and a right margin leaves its own empty stretch.

A change line prints its authored format as authored: +1.2k prints +1.4k, −0.4k and 0.0k for 1350, −360 and 10, and a signed or inline row never gets extra decimals. A level row keeps "nonzero stays nonzero", so a small money or count figure does not print as 0.

A figure prints the same text at every width. A value track with an authored width widens to hold its widest figure and warns table-column-widened. Below the smallest width of the table, the CLI and MCP tool refuse the size and name the width it needs, and React scrolls. To print fewer digits, write a shorter format example, such as $1.2M for $1.23M. options.fitFormats and fitFormat on a row or a column are retired and ignored with an option-deprecated warning. An authored format prints in its own magnitude: $1.2k prints 2,496,000 as 2,496.0 thousand, never as $2.5M.

A table with no data row (no row at all, or only section headings and totals) keeps its head and draws one quiet row under it that says "No data to show." Folds and rootsHidden do not make a table empty. React calls onEmpty once, and strings.emptyMessage words the row; the static SVG draws the default wording. canDraw(request) answers { ok: false, code: "empty-data" } for the same table, so a host can hide the card before it renders. dimswitch takes onEmpty too; it is empty only when it has no measure.

Cell padding does not animate in the grid. A change of cellPadX and of the tracks in one render shows no moment where a head wraps on the old padding. A table that mounts does not animate its row heights; only a fold (the max-height of the children), the inline-lines switch and a column toggle animate, and prefers-reduced-motion turns those off.

Value bands and a pinned head

A numeric cell object takes bands: a list of ascending upper bounds to in the cell's own units, before display formatting, each with an optional tone (good, warn, bad or neutral) and a label. The cell takes the first band whose to is at or above its value; a value under the first bound takes the first band and a value over the last bound takes the last. Negative bounds and zero are fine. An explicit tone on the cell beats the bands, and the bands beat the automatic sign judgment of a change. A missing, n/a, n.m., suppressed or open cell is not judged, and a text cell ignores the bands. muted, a column materiality and options.judgements still apply. The label shows on hover and in the accessible table. bands color a level; use polarity for the sign of a change.

stickyLabels: true or a number keeps its meaning: the head and that many leading columns pin inside the table's own scroll box, which the host sizes (React fillHeight, or a height on the scroller). The object form names the parts: { "head": "table" | "page" | false, "columns": 1, "top": 0, "sections": false }. head: "page" pins the head to the page scroll at top px, so it clears a host toolbar. The body then has no vertical scroll box, the head follows its sideways scroll, and no ancestor between the table and the scrolling page may set overflow, because it would capture the sticky head. Page mode is refused with fillHeight; the refusal names the fix. sections: true keeps the label of the section in view under the head until the next section starts, or until the table ends. top above 0 needs head: "page". A dimswitch takes the object too and keeps its own pinned column count (3, or 4 with a plan column) unless you set columns. Static SVG, PNG and PDF show the whole table and ignore sticky. Print turns sticky off.

Sizing

Floor 100 × 80 px; fit content.

Below the floor a render is refused with size-below-floor and the pixels it needs. measure returns the natural and comfortable size for a given spec; see Sizing in the manual.

Fixtures

IDKindUse case
steering-monthlyexampleManagement steering: actual vs plan with validated group total
steering-executive-reportexampleExecutive KPI table: monthly values with verified MoM, YoY and YTD
department-steering-miniexampleDepartment steering mini-table: share bars and cost variances
table-scorecardexampleScorecard: one row per initiative with a value, a state chip and a wrapping note
table-status-squareexampleStatus column with host labels and the square mark
benchmark-competitorsexampleBenchmark: revenue share and margin with derived total
receipts-changelogexampleReceipts: dated change log with old → new values
pivot-with-notesexampleYearly pivot: metric rows with inline annotation cells
cohort-retentiontortureTorture: cohort table with right-censored cells
nulls-policytortureTorture: missing child values under propagate vs skip
heat-region-month-gridexampleHeat table: region × month grid across six numeric columns
fatigue-cell-encodingsexampleFatigue diagnostic: spend bars and arrows on three signed Δ% columns
arrow-relative-percenttortureArrows on a percent change, angled against the largest change
kpi-trend-sparklinetortureKPI trend: sparkline with the source columns kept visible
sparkline-line-columntortureLine and column sparklines share one y-domain per column; last values labeled
management-reportexampleMonthly revenue report with expandable hierarchy and forecast detail
management-report-deexampleMonthly revenue report with expandable hierarchy and forecast detail, German number format
management-report-compactexampleMonthly revenue report at README width: month-to-date and closed year-to-date
status-review-relaxedexampleStatus review with more space between business units
text-scale-smalltorturetextScale 0.85 sets the table faces smaller, each stopping at the report floor
shared-swiss-cash-movementexampleCash movements with swiss number grouping
shared-spaced-cash-movementtortureCash movements with spaced number grouping
proportional-figuresexampleTheme with proportional figures on numbers
torture-long-labelstortureTorture: long names at a generous size read whole, never cut
steering-kpi-rowsexampleKPI rows with their own units: revenue in $M, new customers as a count, CAC in $, across month columns
monthly-kpi-sectionsexampleMonthly KPI board: two sections over twelve months and their average, a change line under every value
table-level-ladderexampleFour levels of one KPI, two body sizes and a compact value block
steering-table-v2exampleMonthly KPIs with the change lines inside the cell, 2026 YTD after nine months
magnitude-forcedexampleEvery money figure in thousands, and the unit on the text that already carries it
column-bandexampleA banded pair inside one column group, with the toggle still covering the year
totals-onlytortureDepth 0: the total alone, with the markets one step away
totals-steptortureDepth 'totals': the group total alone over two regions with markets
mixed-top-level-rowstortureA leaf among parents on the top rung keeps their ground
steering-level-offsetexampleRegions one rung down under levelOffset, the total on its own step
steering-week-grainexampleWeek grain: fixed tracks, ISO weeks under the dates, chevron on the sorted column
row-extent-frameexampleRows that reach the frame edge in a card wider than the table
column-groups-no-headingexampleColumn groups that keep their meaning and draw no heading
row-missing-blankexampleA change line that stays blank where it has no value, and a real gap that prints n/a
steering-theme-conventionsexampleTheme table conventions with two open months and a heat-free cell
table-head-authored-caseexampleColumn heads in their authored case
table-frame-open-endexampleRows that end on the card edge, with no end hairline and a light close
steering-hover-historyexampleA year-to-date block whose hover card draws the fiscal years the table hides
group-span-row-spacerexampleBlock headings over their whole span and a gap before the new year
narrow-tracks-widenexampleWeekly revenue keeps its written format, and its 44 px tracks widen to hold it
outline-marks-offexampleA region tree without outline marks, its head air from the theme
max-growth-cappedtortureA channel table whose columns grow at most 1.4 times when it fills a card
house-rule-colourexampleHead, total and close rules in the theme rule color while the axis ink stays gray
heat-absolute-capexampleA heat lane on an absolute plan variance, saturating at 500, the total tinted as well
column-band-prior-year-shownexampleThe prior-year months a host toggled on through columnVisibility
level-ladder-one-openexampleOnly Subscriptions opened over a collapsed tree, each rung indented 24 px
unfoldable-parentexampleCore stays open at depth 0 because it is foldable: false; New ventures folds
sections-with-badgesexampleThree section headings with a warn, a good and a neutral status chip, at a narrow width
collapsed-hint-narrowexampleA squeezed label column: one hint whole, one cut to its count, none running into the figures
wide-at-destination-widthexampleNine columns at the 1,050 px column they are shown in, with larger body text
regional-scorecard-statestortureA strong forecast column, line and column sparklines, a bad section chip and every non-value cell state
cohort-heat-relativeexampleCohort retention on the since-acquisition axis, five-step ink ramp
cohort-heat-dark-topexampleCohort retention in a dark theme, the top band at 78 % ink under dark figures
cohort-heat-calendarexampleThe same cohorts on calendar time, closing on the active base
cohort-heat-divergingexamplePoints above and below the column average, Moss over Rust
cohort-heat-statusexampleEach cohort green, amber or red against the weighted average
cohort-heat-absoluteexampleOne scale for the whole grid: bins at 30, 40, 50 and 60 points
cohort-heat-blocksexampleCore columns once, three metric blocks over the same months
cohort-heat-sampledexampleThirty-six cohorts on a sampled month axis, 20 px rows, 6 px before each January
cohort-heat-largetortureSixty cohorts, sixty months, two pinned core columns
cohort-heat-large-heat-onlytortureThe same sixty by sixty with the figures off, grounds alone
mixed-unitstortureMoney, counts and rates keep their own units
percent-points-declaredexampleLow conversion rates declared in points
hierarchy-kindsexampleMember, measure and split presentation
row-label-text-capexampleA row-label text cap with an indent and a unit affix
row-label-three-linesexampleCampaign names on three lines in a capped label track
long-campaign-namesexampleCampaign names that wrap after _ and - in a capped label track
contribution-margin-statementexampleContribution margin with signed costs and driver rows
pl-statementexampleAn authored P&L, signed
pl-statement-operatorsexampleThe P&L with operators and drivers
pl-statement-plainexampleThe P&L as supplied
value-bandsexampleValue bands color a numeric cell by the range its value is in
page-sticky-sectionsexampleThe head pins to the page scroll 48 px down, and the active section label stays under it
scroll-sticky-sectionstortureThe head and two columns pin inside the table scroll box, with the active section label under the head
driver-tones-groupedtortureDrivers under a line show good and bad tones; a flat driver keeps the driver ink
driver-tones-alwaysexampleEvery driver shows its tones, the flat one too
driver-tones-nevertortureDrivers keep the driver ink, as before 0.28
sticky-columns-onlytortureTwo columns pin and the head does not
group-ground-expandedexampleOnly the open group has the group ground; a folded group row looks like a normal row
group-ground-alwaysexampleThe group ground stays on a folded group row, as before 0.28
group-ground-noneexampleNo group ground at all
frame-fill-valuesexampleUnder rowExtent frame the value tracks grow until every layer ends at the frame edge
frame-fill-noneexampleThe old frame: columns keep their widths and an empty stretch carries the rows to the edge
height-fill-noneexampleA pinned height keeps the rows at their natural height and leaves the rest empty
table-look-keysexampleA theme sets the quiet row rule, its width and the secondary ink; each open block opens on the rule ink
no-column-headsexampleNo head row and no group heading: the first row starts at the top of the table
head-alignexampleThe figures stay right under a head set left