Foundations

Data visualisation

A chart is a claim about a patient made in geometry rather than in words, and it is read faster and trusted more than the numbers it was drawn from. That makes it a clinical surface, and it needs the same rigour as the alarm palette rather than the rigour of a dashboard.

Stable · v1.0 WCAG 2.2 AA IEC 62366-1 Framework · ISO 9241-11

Overview

Until now this system has said almost nothing about charts, and Status & limitations has admitted it in writing. That was tolerable while every worked example concerned a single episode. It stops being tolerable the moment a device's finding is a shape over time — a trend, a rate of change, a value drifting toward a threshold.

The rules here all descend from one property that separates clinical charting from every other kind: the reader cannot check the drawing against the data. A clinician looking at a line has no way to know that the axis was auto-fitted, that a gap was interpolated, or that two points came from different assays. Every one of those changes what the picture means, and none of them is visible in the picture.

The axis is fixed

Scale is decided by the clinical range, not by the data in view. A chart that rescales to fit makes every patient look equally variable.

Only comparable points connect

A line asserts continuity. Where the measurements are not commensurable, the line breaks and the chart says why.

The numbers survive

A chart never replaces the values. It is an additional representation of data that is also readable, precisely, as text.

Axis honesty

Auto-fitting a y-axis is the default in every charting library and it is wrong here. It makes the visual amplitude of a change independent of its clinical significance — a patient drifting 2 ng/L within a normal range produces the same dramatic slope as one crossing a decision threshold.

Fixed clinical scale, with the reference range drawn
Serum creatinine · 12 months µmol/L · scale fixed 40–160
ref 60–110 160 40 96 Sep 25 Aug 26

78 → 96 µmol/L over 12 months, within the reference range throughout. The rise is real and modest, and it looks modest.

Comparability and gaps

The rule that carries the risk

A line between two points asserts that they are measurements of the same thing on the same scale. Where that is not true — a different assay, a different scanner, a different protocol, a change in units — the line breaks and the chart states the discontinuity. Silently connecting incommensurable measurements produces a trend that does not exist, and it is invisible to the person reading it.

A break for a gap, and a break for a method change
Nodule long axis · 3 years mm · scale fixed 0–20
20 0 no imaging · 14 months 6.0 8.4 scanner A scanner B

Not directly comparable. The first pair was measured on a different scanner and protocol from the second. The dashed segment spans both a 14-month gap and a method change; it is drawn faintly to show sequence, and it is not a measurement of growth.

Colour and encoding

The system has no chart colour palette, and that is deliberate.

Why there is no series palette

Every series colour has to survive greyscale printing, colour-vision deficiency and a ward display at four metres. Rather than build a palette that meets those constraints and then rely on people using it correctly, this system distinguishes series by direct labelling and line style — which needs no palette, no legend, and no second encoding to remember. Adding a chart ramp would also mean adding governed tokens for a problem that does not require them.

The chart is never the only representation

Precision and accessibility turn out to be the same requirement here. A reader cannot get 96 µmol/L off a line, and neither can assistive technology.

Sparkline with the value it summarises
Serum creatinine
96µmol/L
ref 60–110 µmol/L · +18 over 12 months
5 measurements

The sparkline is decorative and marked aria-hidden. Everything it conveys — direction, magnitude, how many points — is in the text beside it.

Do's and don'ts

Do
hs-cTnI ng/L · scale fixed 0–120

Fixed scale, reference band drawn, points visible. The crossing is legible because the band is there, not because anything turned red.

Don't
hs-cTnI auto-scaled

Same two values, axis fitted to them, no reference band and no points. Every patient's chart looks like this one, so none of them means anything.

Do

6.0 → 8.4 mm over 3 years · not directly comparable, scanner and protocol changed · 14 months with no imaging

The caveats travel with the number. A reader can decide how much the apparent growth is worth.

Don't

Growth: +2.4 mm over 3 years

A single derived figure spanning a scanner change and a 14-month gap. It reads as a measurement and it is an artefact.

Do

Projected to cross 110 µmol/L by Mar 2027projection, not a measurement · linear fit on 5 points

Named as a projection, with the method and the number of points behind it. The reader can weigh it.

Don't

Creatinine Mar 2027: 112 µmol/L

A prediction rendered exactly like a result. Two significant figures of false precision about a measurement nobody has taken.

Do

Two stacked charts sharing one time axis.

Both quantities readable on their own scales, with no implied relationship the data does not support.

Don't

One chart, two y-axes, two lines crossing.

The crossing point is decided by where the axes were placed. It looks like a finding and it is a drawing choice.

Accessibility

Outcomes of use

What this contributes to, in the terms of Usability & context of use. These are attributes believed to contribute to an outcome; the outcome itself is settled by observing real use in a specified context, not by this page.

Clinical safety notes

Risk controls carried by this foundation

Trace these in your risk file (ISO 14971) and usability engineering file (IEC 62366-1).

NotJustAnyMed.Tech Design System · Data visualisation · v1.0 · draft for review
Reference applications named in this system are fictional; all values, ranges and trends shown are fabricated and illustrative.