Choose by the question
Use a line chart for a value over time, a compact sparkline only beside its current value, a proportional bar for parts of a stated total, and a timeline for when executions happened. A health ring must also show its numeric score and a named assessment. Do not use decorative area fills, gradients, glass or pulsing failures.
Metrics, categories and status are different
visualization.metric.* defines named operational series: total jobs, completed,
failed, success rate, active jobs, average execution time and queue depth. Volume
and duration alone are not warnings. Keep units, thresholds and metric names visible.
visualization.job-type.* defines queue-status, sync-history, polling-jobs and
generic-jobs as categorical identities, never as success/warning/failure. Their
foundation colour aliases adapt in light and dark. Always pair colour with the
job-type name or distinct glyph. In combined timeline mode, the outer mark encodes
job type and the inner mark encodes status; explain both in the legend. In status
mode, use color.text.success, danger, info, warning or neutral text by the
actual state. Preserve visible status labels and outcome icons.
visualization.priority.1 through .5 encode ranked queue urgency, always labelled
P1–P5. Priority is not an execution outcome. P1 is highest; P5 is lowest. Do not
reuse a priority colour to claim success or failure.
Geometry and typography
Use visualization.line-width, sparkline-width, grid-width, point-radius
and hover-point-radius for SVG series and markers. Strokes are CSS pixel
dimensions; use a measured viewBox or non-scaling strokes to avoid distortion.
timeline-track-height and activity-track-height set compact proportional tracks.
ring-size is a CSS dimension; ring-width is a percentage of the ring size,
and ring-gap is degrees. Convert dimensions only at numeric API boundaries.
Data coordinates and measured container sizes remain data, not design tokens.
timeline-node-size and timeline-node-inner-size define the outer categorical and
inner status marks. Their touch and tablet variants preserve legibility without
changing the encoding. timeline-cluster-size sets an aggregate count mark; paint
its boundary with the category/status role and keep its count in normal text on a
normal surface, never white on a theme-adapted bright mark. Use size.target.touch
for the interactive footprint, independent of the visible mark.
chart-height, chart-initial-width, sparkline-height,
sparkline-compact-height and sparkline-initial-width define plotting viewports;
initial widths are replaced by measured widths. sparkline-point-radius is the
compact endpoint radius. These are not data scales or axis values.
Use font.heading.large with tabular figures for KPI values, font.body.small for
metadata, axes and tooltip copy, and font.label.small for legend labels.
Use color.border for decorative grids, color.text.subtle for labels and the
surface/inverse text pair for tooltips. A meaningful data mark needs at least 3:1
against its actual surface; normal text needs 4.5:1. Check actual theme pairs rather
than assuming an alias proves rendered contrast.
Labels, formats and interaction
Keep locale-aware number, timestamp and duration formatting consistent with the adjacent table. Include units and time range; preserve timezone context. Never silently turn a count into a rate or truncate a duration. Legends must name every shown series; a selected series needs an indicator other than colour. Tooltips must stay inside the chart container and must not be the only way to read values. Provide an adjacent numeric summary or table for the same data and an accessible chart name. Keyboard-operable legend controls retain visible focus.
Traffic assessment bands
visualization.traffic.{healthy,attention,degraded,critical,unavailable,fault}.{fill,outline}
provides paired band paints. Healthy means accepted traffic; attention, degraded and
critical describe increasing rejected-request ratio thresholds. State the thresholds
in labels or tooltips. Attention and degraded share warning colours: use a distinct
dash pattern and explicit labels, not colour alone. Unavailable means no requests
to assess. Fault means internal/backend request-processing errors, not a ratio band;
show a separate fault count, explicit label/icon and cross-hatching. Fetch failures remain errors, not a band. Never turn missing
data into zero or a healthy result. Use normal color.text for text on subtle fills.