Overview
Curated: · Written: · Reviewed:
Dashboard Design Principles
In one line
A dashboard is a decision-support tool with a refresh rate. Each tile exists because it changes an action for a named audience, and it shows its measure window, as-of time and coverage. Reach for one when a recurring decision needs the same few signals repeatedly.
Key definitions
- Decision: the action the dashboard informs, named before any chart is chosen.
- Measure window: the period a metric is computed over. It must match the SLO or decision window.
- As-of time: the timestamp of the last successful data load, not the page render time.
- Coverage: the share of expected source data actually present in the value.
- Semantic layer: one place where metric definitions are kept, shared by every view.
- Data-ink: marks that carry information. Everything else is removed.
Formulas and complexity
SLO success rate over the SLO's own window:
Mean confidence interval, from 100 samples with mean 200 ms and standard deviation 30 ms:
The interval crosses a 205 ms SLO, so the mean cannot be called compliant.
How it works
Derive every tile right to left: decision, question, measure, encoding. Each tile reads a named aggregate with a fixed window and refresh cadence. Each value carries its as-of time and coverage, and missing data renders as a gap, never as zero. Permissions are enforced on the query, server-side, not in the chart.
When to use and when not to
| Situation | Use | Prefer instead |
|---|---|---|
| Recurring threshold decision | Single number with its target | Alert |
| One-off or exploratory question | Nothing permanent | Notebook or query |
| One user, one fixed question | Nothing interactive | Scheduled report |
| Pipeline not yet trustworthy | Nothing yet | Fix the pipeline first |
| Ranking close values precisely | Sorted dot plot or table | Bar chart with zero baseline |
| Several audiences, one metric set | Separate views on one semantic layer | One page for everyone |
Traps interviewers probe
- A long window hides a short incident. A 7-day average absorbs an 11-minute spike. Fix: put the SLO window on the on-call tile and keep the trend for the business review.
- A green tile from the wrong window. A 30-day success rate can read green while a 5-minute SLO window is failing. Fix: compute the SLO over its own windows and show the worst recent window beside the headline.
- Dropped telemetry reads as recovery. Lost spans pull the p95 down. Fix: show coverage, and mark any window below the recovery threshold as partial, not healthy.
- Truncated bar axis. A bar from 45k makes 52k look 40% larger than 50k when the gap is 4%. Fix: zero baseline for bars. Truncated axes are acceptable only on lines, and must be labelled.
- Colour as the only status carrier. A 2:1 amber dot fails the 3:1 non-text contrast requirement and is lost to deuteranopia. Fix: add a shape or text label, and a stroke that meets 3:1 against the row.
Interview tips
Open by naming the audience, the decision, the cadence and the action, before any chart. Say the framing sentence: a dashboard is a decision-support tool with a refresh rate, not a data catalog with a UI.
Follow-ups to expect:
- The VP wants all 40 metrics. Cut by decision. A metric that cannot change an action moves to a detail view.
- Colour-blind or black-and-white export. The redundancy was designed in: labels, shapes or position.
- Late data. The tile shows delayed, partial or stale state with coverage. Never a silent zero.
- Deep-link permissions. Row-level checks run on the query as the signed-in user.
- How do you know it works? Time to detection and decisions changed, not page views.
30-second outline: "This dashboard serves two decisions with different windows: on-call paging and the weekly budget review. On-call gets the SLO-window signal, its as-of time and coverage, top-left, with the endpoint driving it readable beside it. The weekly view is a separate page on the same metric definitions. Every tile states its window, comparison, as-of time and state. Missing data is a gap, and colour always has a label. I would validate it with a timed drill against real incidents."
Feedback on this overview
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.