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.
| 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
| Name | Type | Default | Description |
|---|---|---|---|
columns | array | required | Key, label, unit, direction, decimals, and a scale ceiling per column. |
rows | array | required | Name, optional sub and tag, highlight, and a value per column. A null value renders a dash. |
sortBy | string | none | Column key that orders the rows, best first. |
caption | string | none | Source, date, and method. The caption is not optional in practice. |
on | number | 2 | Surface 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 | Solo One person | Team Up to 20 | Institution Unlimited |
|---|---|---|---|
| Memory | |||
| Episodic recall | Included | Included | Included |
| Semantic recall | Included | Included | Included |
| Retention window | 30 days | 1 year | Custom |
| Operations | |||
| Export | Included | Included | Included |
| Audit log | Not included | Included | Included |
| Custom storage | Not included | Not included | Included |
Properties: Comparison table
| Name | Type | Default | Description |
|---|---|---|---|
columns | array | required | Key, label, and optional sub line per option. |
rows | array | required | A group marker, or a label with one value per column. True is a check, false or null is a dash, a string is text. |
featured | string | none | Column key raised one step. It takes no ring or badge. |
on | number | 2 | Surface 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
| Name | Type | Default | Description |
|---|---|---|---|
items | array | required | Label, value, and an optional mono flag per item. |
columns | number | 1 | One or two columns. The row step does not change. |
on | number | 2 | Surface step the list sits on. |
format | function | locale string | Formats 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
| Name | Type | Default | Description |
|---|---|---|---|
page | number | 1 | Controlled page. Omit it to let the control keep its own state. |
pages | number | required | Total number of pages. |
total | number | none | Total row count. With pageSize, the summary reads "1–10 of 124". |
pageSize | number | none | Rows per page, used with total. |
onChange | function | none | Called with the new page number. |
on | number | 2 | Surface 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.
Properties: Stat
| Name | Type | Default | Description |
|---|---|---|---|
label | string | required | What the figure measures. |
value | string or number | required | The headline figure, formatted at the source. |
delta | string | none | A signed comparison, for example +12%. |
deltaTone | green, red, yellow, neutral | green | Follows meaning, not direction. |
period | string | none | The comparison period, placed beside the delta. |
on | number | 1 | Surface step the stat sits on. The panel uses the next step. |
unit | string | none | Unit beside the figure, smaller and muted. |
children | node | none | Usually 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.
Properties: Chart
| Name | Type | Default | Description |
|---|---|---|---|
type | area, line, bar, donut | area | The drawing. All four share the same surface and text rules. |
data | number[] | required | Values in order. A donut takes one number per slice. |
labels | string[] | none | Labels for the hover tooltip, not for permanent axis text. |
height | number | 220 | Drawing height in pixels. |
color | token | accent | Line, area, or bar color. The donut steps through the tone set. |
emptyMessage | string | No data to display | Message when the series is empty. |
on | number | 2 | Surface 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.
Properties: Bar chart
| Name | Type | Default | Description |
|---|---|---|---|
bars | array | required | Label, optional sub line, value, tone, and note per bar. |
max | number | none | Top of the scale. Omit it to derive the top tick from the largest value. |
ticks | number[] | derived | Explicit gridline values. Use them when the scale must be shared across charts. |
yLabel | string | none | Rotated axis label. It widens the left gutter. |
height | number | 360 | Drawing height in pixels. |
format | function | locale string | Formats the value labels and the ticks. |
on | number | 2 | Surface 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.
Properties: Bar list
| Name | Type | Default | Description |
|---|---|---|---|
items | array | required | Label, value, and an optional right-aligned hint. |
max | number | largest value | Scale ceiling. Set it when several lists must share a scale. |
on | number | 2 | Surface 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
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 window | Recall@10 |
|---|---|
| 4k | 62% |
| 8k | 78% |
| 16k | 54% |
| 32k | 84% |
| 64k | 70% |
| 128k | 58% |
Properties: Figure
| Name | Type | Default | Description |
|---|---|---|---|
title | string | required | The claim, in display type. |
subtitle | string | none | The direction, for example "Lower is better". |
controls | node | none | Segmented control, select, or another filter. |
onDownload | function | none | Shows the download action. Point it at a CSV or a table of the same numbers. |
caption | node | none | Source, method, and caveats. |
on | number | 1 | Surface 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.
Properties: Heatmap
| Name | Type | Default | Description |
|---|---|---|---|
rows | string[] | required | Row labels, one per value row. |
cols | string[] | required | Column labels, one per value column. |
values | number[][] | required | One row of numbers per row label. |
cell | number | 28 | Cell height. Width follows unless the map is fluid. |
fluid | boolean | false | Stretch columns to the container width. |
max | number | largest value | Top of the intensity scale. |
legend | boolean | true | Shows the five-step ramp. |
on | number | 2 | Surface 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
| Name | Type | Default | Description |
|---|---|---|---|
series | array | required | Name, points, tone, marker, and an optional line flag per series. |
xLabel, yLabel | string | none | Axis names with units. They are not optional in practice. |
xMin, xMax | number | derived | Fix the domain when several plots must share a scale. |
marker | star, circle, square, diamond, triangle | by series | The shape that keeps series distinct without color. |
height | number | 380 | Drawing height in pixels. |
xFormat, yFormat | function | locale string | Formats the tick labels. |
legend | boolean | true | Shows the series key. |
on | number | 2 | Surface 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.
Properties: Stacked bar
| Name | Type | Default | Description |
|---|---|---|---|
segments | array | required | Label, value, and an optional tone. Order them largest first. |
height | number | 16 | Bar height in pixels. |
legend | boolean | true | Two-column list with label and share. |
tone | token | one blue ramp | Use it only when color carries meaning, for example a passing state. |
on | number | 2 | Surface 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.