Skip to content
Tech Interview Prep
Technical interview guide

Dashboard Design Principles

Building a dashboard that actually gets used and drives decisions, not one that just looks comprehensive.

Minutes to read
3
Practice MCQs
25
Interview Q&A
25
Edition
v5
Editorial status
Reviewed

Scope: WCAG 2.2 and current W3C WAI, USWDS, Microsoft Power BI, Tableau, Google Looker, Grafana, Vega-Lite, and UK Government Analysis Function guidance reviewed 2026-09-04.

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:

success=attempts−failuresattempts\text{success} = \frac{\text{attempts} - \text{failures}}{\text{attempts}}

Mean confidence interval, from 100 samples with mean 200 ms and standard deviation 30 ms:

xˉ±tn−1sn=200±1.98⋅3010≈194 to 206 ms\bar{x} \pm t_{n-1}\frac{s}{\sqrt{n}} = 200 \pm 1.98 \cdot \frac{30}{10} \approx 194 \text{ to } 206 \text{ 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.

Decision: page or not Question: is p99 over SLO in last 5 min? Measure: p99, 5-min window, coverage Encoding: one number, target, sparkline Tile shows as-of time and state

When to use and when not to

SituationUsePrefer instead
Recurring threshold decisionSingle number with its targetAlert
One-off or exploratory questionNothing permanentNotebook or query
One user, one fixed questionNothing interactiveScheduled report
Pipeline not yet trustworthyNothing yetFix the pipeline first
Ranking close values preciselySorted dot plot or tableBar chart with zero baseline
Several audiences, one metric setSeparate views on one semantic layerOne page for everyone

Traps interviewers probe

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.