Data

The rules for tables, stats, pagination, and charts that present a claim without decoration.

Data display

Data components show a claim and the conditions that make it readable. A number without a unit, a source, or a comparison is decoration.

The components below are the shared data set. The numbers are illustrative and exist to show layout, scale, and state. They are not a benchmark result. A real table states its source, date, and method in the caption, and a real chart states them in the figure caption.

Benchmark table

Systems run down, metrics across. Each cell is a figure above a solid bar scaled to its column. The best value in a column takes the accent bar and full text color. A highlighted row marks your own system; a tag names it once, not in every cell.

Column headers state the direction. Mixed units stay in separate columns, never on one scale. A missing result is a dash, never zero, because zero is a measurement and a dash is not.

Illustrative values for layout only. A real caption states the source, the date, and the method.
System Recall@10 ↑ higher is better p95 latency ↓ lower is better Cost per 1k ↓ lower is better
Atlas Reference path Example 92.4 % 84 ms 0.90 USD
Beacon Single region 84.1 % 96 ms 1.40 USD
Cinder Two regions 76.8 % 112 ms 2.10 USD
Delta Batch only Not reported 131 ms 2.80 USD
Properties: Benchmark table
NameTypeDefaultDescription
columnsarrayrequiredKey, label, unit, direction, decimals, and a scale ceiling per column.
rowsarrayrequiredName, optional sub and tag, highlight, and a value per column. A null value renders a dash.
sortBystringnoneColumn key that orders the rows, best first.
captionstringnoneSource, date, and method. The caption is not optional in practice.
onnumber2Surface step the table sits on. Rows use the next step.

Comparison table

Features down, options across. A check means included and a dash means not included. The featured column sits one step above the rest, with no ring and no badge. Groups are separated by space, not a rule.

Feature comparison across three plans
Feature Solo One person Team Up to 20 Institution Unlimited
Memory
Episodic recall Included Included
Semantic recall Included Included
Retention window 30 days Custom
Operations
Export Included Included
Audit log Not included Included
Custom storage Not included Included
Properties: Comparison table
NameTypeDefaultDescription
columnsarrayrequiredKey, label, and optional sub line per option.
rowsarrayrequiredA group marker, or a label with one value per column. True is a check, false or null is a dash, a string is text.
featuredstringnoneColumn key raised one step. It takes no ring or badge.
onnumber2Surface step the table sits on.

Key and value

A detail pane for one record. Labels are muted and stay left; values are right aligned. Rows sit one step above their container, 1px apart. Use the mono face for identifiers and keys, never for prose.

Memory ID
mem_01J8Q4K6
Tenant
Northwind
Created
4 Nov 2026
Last write
5 Nov 2026
Retention
1 year
Region
eu-west-1
Properties: Key and value
NameTypeDefaultDescription
itemsarrayrequiredLabel, value, and an optional mono flag per item.
columnsnumber1One or two columns. The row step does not change.
onnumber2Surface step the list sits on.
formatfunctionlocale stringFormats the value column.

Pagination

Summary left, controls right. Buttons are solid at the row step, hover one step up, and the current page is the only accent fill. The range collapses to an ellipsis, never to a long strip of numbers. The control belongs in a table footer, not above the first row.

Properties: Pagination
NameTypeDefaultDescription
pagenumber1Controlled page. Omit it to let the control keep its own state.
pagesnumberrequiredTotal number of pages.
totalnumbernoneTotal row count. With pageSize, the summary reads "1–10 of 124".
pageSizenumbernoneRows per page, used with total.
onChangefunctionnoneCalled with the new page number.
onnumber2Surface step the control sits on.

Stat

One headline figure with its comparison and, optionally, a chart along the bottom. The figure uses tabular numerals so a changing value does not shift the layout. The delta badge follows meaning, not direction: a fall in failures is good and takes green.

Records written 48,210 +12% vs. last 7 days
Failed writes 38 +6% vs. last 7 days
Storage used 12.4 GB 0% vs. last 7 days
Properties: Stat
NameTypeDefaultDescription
labelstringrequiredWhat the figure measures.
valuestring or numberrequiredThe headline figure, formatted at the source.
deltastringnoneA signed comparison, for example +12%.
deltaTonegreen, red, yellow, neutralgreenFollows meaning, not direction.
periodstringnoneThe comparison period, placed beside the delta.
onnumber1Surface step the stat sits on. The panel uses the next step.
unitstringnoneUnit beside the figure, smaller and muted.
childrennodenoneUsually an area Chart. It runs flush to the panel edges.

Charts

A chart carries one claim. The title names it, the subtitle states the direction, and the caption states the source and the limits.

Every chart is an SVG on a solid surface. There is no translucent canvas, no border, no gradient, and no third-party chart runtime. Gridlines are solid and sit two steps above the surface. Color is never the only difference between series; a marker shape or a label carries the same distinction.

Chart

The minimal chart primitive. Types are area, line, bar, and donut. It has no axis labels and no horizontal grid by default; the surrounding Figure or Stat supplies the title and the period. The area type fills at 40 percent and strokes at 2; the line strokes at 3; bars take a 4px top radius; the donut leaves a 40 percent hole and puts the total at its center. Empty data shows one message on the same surface.

Three types on one surface. Labels and values belong to the Figure; the line also carries a hover tooltip.
Line
Bar
Donut
Properties: Chart
NameTypeDefaultDescription
typearea, line, bar, donutareaThe drawing. All four share the same surface and text rules.
datanumber[]requiredValues in order. A donut takes one number per slice.
labelsstring[]noneLabels for the hover tooltip, not for permanent axis text.
heightnumber220Drawing height in pixels.
colortokenaccentLine, area, or bar color. The donut steps through the tone set.
emptyMessagestringNo data to displayMessage when the series is empty.
onnumber2Surface step the chart sits on.

Bar chart

Labelled comparison bars. The value sits above the bar, the category below. Gridlines are solid, ticks are mono, and the top corners take a 6px radius. One tone carries a family and a second tone marks the next generation. The direction is stated in the Figure subtitle, and a footnote mark is explained in the caption.

Higher is better. Illustrative values.
Properties: Bar chart
NameTypeDefaultDescription
barsarrayrequiredLabel, optional sub line, value, tone, and note per bar.
maxnumbernoneTop of the scale. Omit it to derive the top tick from the largest value.
ticksnumber[]derivedExplicit gridline values. Use them when the scale must be shared across charts.
yLabelstringnoneRotated axis label. It widens the left gutter.
heightnumber360Drawing height in pixels.
formatfunctionlocale stringFormats the value labels and the ticks.
onnumber2Surface step the chart sits on.

Bar list

A ranked list where the bar is the row. The track is 36 pixels high and solid at the row step, the fill is accent-strong, and the figure and share sit in a fixed column on the right. One tone only. The label stays text-1 on both the track and the fill because both are dark enough to carry it.

Episodic
48,210 61%
Semantic
21,430 27%
Procedural
6,120 8%
Working
2,180 3%
Archived
940 1%
Properties: Bar list
NameTypeDefaultDescription
itemsarrayrequiredLabel, value, and an optional right-aligned hint.
maxnumberlargest valueScale ceiling. Set it when several lists must share a scale.
onnumber2Surface step the list sits on.

Figure

The frame around a chart. The title names the claim, the subtitle states the direction, and the caption states the source, the method, and the limits. The panel sits one step above its container and the chart inside sits one step above the panel. The download action points to the same numbers as a CSV.

Recall by context window

Higher is better

Download data

Illustrative values for layout only. A real caption states the source, the date, the method, and any limit on the comparison. Single run, one region, no confidence interval.

View data
Context windowRecall@10
4k62%
8k78%
16k54%
32k84%
64k70%
128k58%
Properties: Figure
NameTypeDefaultDescription
titlestringrequiredThe claim, in display type.
subtitlestringnoneThe direction, for example "Lower is better".
controlsnodenoneSegmented control, select, or another filter.
onDownloadfunctionnoneShows the download action. Point it at a CSV or a table of the same numbers.
captionnodenoneSource, method, and caveats.
onnumber1Surface step the figure sits on. The panel uses the next step.

Heatmap

A matrix of intensity. Five solid steps run from the row step to accent-hover. Cells are square, 1px apart, and the outer corners take the radius. Hover names the exact value. A heatmap answers where activity concentrates; it does not replace the table when exact values matter.

Less More
Properties: Heatmap
NameTypeDefaultDescription
rowsstring[]requiredRow labels, one per value row.
colsstring[]requiredColumn labels, one per value column.
valuesnumber[][]requiredOne row of numbers per row label.
cellnumber28Cell height. Width follows unless the map is fluid.
fluidbooleanfalseStretch columns to the container width.
maxnumberlargest valueTop of the intensity scale.
legendbooleantrueShows the five-step ramp.
onnumber2Surface step the map sits on.

Scatter plot

A trade-off plot. Each series takes its own marker shape and solid color, so the chart reads without color alone. A 2px line joins points from the same settings sweep; a single result has no line. The accent tone marks your own system. Gridlines are solid, ticks are mono, and the axis labels carry the unit.

Properties: Scatter plot
NameTypeDefaultDescription
seriesarrayrequiredName, points, tone, marker, and an optional line flag per series.
xLabel, yLabelstringnoneAxis names with units. They are not optional in practice.
xMin, xMaxnumberderivedFix the domain when several plots must share a scale.
markerstar, circle, square, diamond, triangleby seriesThe shape that keeps series distinct without color.
heightnumber380Drawing height in pixels.
xFormat, yFormatfunctionlocale stringFormats the tick labels.
legendbooleantrueShows the series key.
onnumber2Surface step the plot sits on.

Stacked bar

One bar split into parts of a whole, largest first. Segments are 1px apart. Parts differ by lightness within one hue, then move to neutral grey; they never become a rainbow. The legend is a two-column list with shares right aligned.

Episodic Semantic Procedural Working
Properties: Stacked bar
NameTypeDefaultDescription
segmentsarrayrequiredLabel, value, and an optional tone. Order them largest first.
heightnumber16Bar height in pixels.
legendbooleantrueTwo-column list with label and share.
tonetokenone blue rampUse it only when color carries meaning, for example a passing state.
onnumber2Surface step the bar sits on.

Text alternatives

A chart is not the only copy of the data. The numbers must survive when the picture does not.

A chart has three acceptable text forms. A short chart gets a written summary in the caption. A chart with precise values gets a data table, either open or behind a disclosure. A chart that supports a download gets a CSV or a table with the same numbers. The Figure specimen above uses the table form behind "View data".

The drawing itself carries role="img" and a name that states the series and the values in order. Decorative marks inside the drawing are aria-hidden="true". A reader who cannot see the chart should receive the same claim, not a description of the geometry.

Review: disable images and read the page. Every chart must leave a sentence or a table that states what it showed. A caption that says only "Chart" or "See above" is not an alternative.

Rules

These hold for every data component and every chart on every surface.

Units live in the column or the axis
A percentage column says so once. A latency axis says milliseconds once. Repeating a unit in every cell makes the table harder to scan and easier to misread.
Missing is a dash
A missing result is not zero. A zero is a measurement; a dash is an absent one. The difference changes the conclusion.
State the source, date, and method
A benchmark caption names the source, the date, and the method. Without them the table reads as marketing, not as evidence.
Color follows meaning
A delta is green when the change is good and red when it is bad, not when it is up or down. Series carry a marker shape as well as a color.
One scale per column
Mixed units belong in separate columns. Two metrics on one axis produce a comparison that does not exist.
No decoration
No translucent canvas, no border, no gradient, no drop shadow on a chart, and no third-party chart runtime. The surface and the data carry the picture.
The Figure sets the step
A chart inside a Figure uses the step above the panel. A chart inside a Stat uses the panel color itself, so the fill runs flush to the edges.

Scope of the presentation layer. The components on this page render from markup and CSS. Chart tooltips and pagination are the only behavior that needs data.js. Sorting, filtering, and live data binding belong to the surface that owns the data, not to the presentation layer.

Why. A benchmark table is evidence only when its source, date, method, and missing values are visible. Without them, the reader cannot tell a measurement from a marketing number.

Enforcement. Review every table caption and every chart alternative before publication. Accessibility owns the text-alternative review. A chart without a text form fails review.