Interview's MateData Science
Interview's Mate

Data Science

Python → ML → MLOps

Visualizer

DSA Visualizer
All 32 lessons
Custom Playground
Try your own examples

Learning

System Design
31 architecture topics
SQL Learning
160 foundations → production topics
AI Engineering
160 LLM → backend topics
Data Science
160 Python → MLOps topics
Data Engineer
160 SQL → streaming topics
Docker
160 Docker learning topics
Kubernetes
160 K8s fundamentals → cloud
Java LearnSoon
Coming soon
Python Learn
Interview Q&A & internals
JavaScript Learn
Closures, async & DOM Q&A
Tech Learn
Search, practise & track Q&A
AI DSA Practice
Solve coding problems
Theme
Home
Data Science topics
Lesson 72/ 160
04. Data Visualization & BI

KPI Cards & Executive Dashboard Design

Layout executive dashboards around a few KPIs with clear hierarchy and actionability.

IntermediateKPI Cards · Layout3 quiz questions
Practice Generative AI Q&A
In plain wordsDiagramTheoryStep by stepWhen to use itInterview cluesMistakes to avoidQuiz (3)Practice

In plain words

An executive dashboard shows the few most important numbers, whether they're good or bad, and where to click to find out why.

Think of it like…

A car dashboard: a handful of gauges (speed, fuel, warnings) are visible at a glance, and a warning light tells you something needs attention, while the full engine diagnostics sit one step deeper for the mechanic.

Where you’ve seen it

A monthly revenue dashboard shows four KPI cards. Revenue: $4.82M against a $5.00M target is 96.4% of target (amber) and +5.9% versus last month's $4.55M. Conversion rate: 3.4% versus a 3.2% target (green). Churn: 2.1% versus a ceiling of 1.8%; because lower is better, the status rule is green at 1.8% or lower, amber up to 10% worse (1.98%) and red beyond, so 2.1% is red with a down-arrow icon and the word "Off target" (not colour alone). NPS: 41 versus 45 (amber). Below the cards sit a 13-month revenue line with the target as a dashed line, a bar chart of the three biggest drivers of the revenue gap and a short "needs action" list with owners. Each card links to a detail page and shows "Data as of 06:00 UTC".

Words you’ll hear

KPI card
A compact tile with a metric value, comparison, trend and status.
Target and threshold
The goal and the boundaries that trigger amber and red status.
Actionability
Each KPI has an owner, a threshold and a defined next step when it moves.
Visual hierarchy
Layout and size that guide the eye from headline to explanation to action.

Visual diagram

Loading interactive diagram

Theory & deep dive

Designing KPI cards

Choose KPIs that map to goals and decisions, and define each one in a single sentence (numerator, denominator, grain, time window, source). A card shows the current value large, a comparison (versus target and versus the prior period or same period last year), the direction (arrow with percentage or point change), a sparkline for context and a status. Compute comparisons carefully: revenue $4.82M against $4.55M is 4.82 / 4.55 − 1 = +5.9%, while attainment against target is 4.82 / 5.00 = 96.4%; for rates, show the difference in percentage points (3.4% versus 3.2% is +0.2 pts, not +0.2%).

Define status rules explicitly and handle direction: for "higher is better" metrics, green at 100% of target or more, amber from 90% to 99.9%, red below 90%; for "lower is better" (churn, latency, cost), invert, for example green at or below target, amber up to 10% worse, red beyond. Use colour with redundancy (icons, labels such as "Off target") for accessibility, and avoid alert fatigue by setting thresholds that mean something. Show data freshness and a link to the definition so numbers can be trusted and reconciled with finance.

Inverted status for a lower-is-better KPI

Churn target ≤ 1.8%. Amber limit = 1.8% × 1.10 = 1.98%. Actual 2.1% is above 1.98%, so the card is red with a down arrow and the text "Off target", while conversion at 3.4% versus a 3.2% target is green.

Key takeaway: Define each KPI precisely, compare against target and prior period correctly, and encode status with explicit, direction-aware rules.

Layout, restraint and actionability

Lay out for the inverted pyramid: the most important numbers top-left, then trends, then drivers, then detail on drill-through pages. Aim for a single screen at the viewing size (no scrolling), a consistent grid, generous white space and at most about 8 to 10 visual elements. Use one chart type per question (line for trend, sorted bars for drivers), the same colour for the same meaning everywhere, and annotate the few events that explain movement (price change, outage, campaign). Test the five-second rule: a new viewer should say what is on track and what is not within five seconds.

Make the dashboard actionable: each KPI has an owner and a documented response ("if churn is red for two weeks, retention lead reviews cohort report"), a drill-through to drivers by segment and a place for commentary explaining variance. Include context not just numbers: seasonality, one-off events and data caveats. Avoid vanity metrics (total registered users that only ever rise), gauges and 3D effects that consume space and carry little data, and metric overload from every stakeholder's request. Review usage quarterly and retire cards nobody acts on; a dashboard is a management tool that needs the same pruning as a codebase.

A five-second read

Top row: revenue amber, conversion green, churn red, NPS amber. A viewer instantly sees that churn needs attention; the line chart shows the gap opened in October, and the driver bars attribute most of it to the SMB segment, so the next step (retention review for SMB) is clear.

Key takeaway: One screen, inverted-pyramid layout, annotated trends and owner-backed KPIs that prompt action.

How it works, step by step

Step 1 of 4
Analyst + exec sponsor

1. Pick and define KPIs

Choose 3–5 metrics tied to goals; write definition, grain, target and owner for each.

revenue · conversion · churn · NPS
Key numbers at this step
Document
formula and source

When to use it & trade-offs

What it is

An executive dashboard answers "are we on track, and what needs attention?" on a single screen, built around 3 to 5 KPIs shown as KPI cards. A good card has a value, a comparison (against target and prior period), a small trend (sparkline), a status that doesn't rely on colour alone, and a clear definition and freshness note. Layout follows reading order (top-left to bottom-right): headline KPIs first, then the trend and the drivers that explain movement, then a short list of items that need action. Every KPI should have an owner, a threshold and a drill-through to the cause.

Why it matters: Executives have minutes, not hours. Dashboards crowded with 30 charts hide the signal, and KPI cards that show a number with no target, no direction and no definition create debates about the metric instead of decisions about the business. Designing for actionability (what to do when a KPI turns red) is what turns reporting into management.

When to reach for it

  • Monthly or weekly leadership reviews
  • Tracking goals with clear owners and thresholds
  • Replacing static slide decks of numbers

When to avoid or be careful

  • KPIs without targets or definitions
  • Status shown only by red and green colour
  • Twenty cards for every possible metric

Dashboard styles

Executive KPI dashboard
Best for: Quick status and decisions by leaders

Strengths: Focused; actionable; one screen.

Watch out: Limited exploration; needs good definitions.

Operational dashboard
Best for: Real-time monitoring by teams

Strengths: Timely, detailed.

Watch out: Dense; not for leadership.

Analytical dashboard
Best for: Exploration by analysts

Strengths: Flexible filters and drill-downs.

Watch out: Slow to read; needs expertise.

Interview signals & numbers to know

When this topic comes up

  • “Executives can't tell if we're on track”
  • “Which KPIs should be on the dashboard?”
  • Variance to target
  • Red-amber-green rules
  • Five-second test

Benchmarks & rules of thumb

3 – 5 -
KPIs on an executive page
4.82 / 5.00 = 96.4% -
attainment in the example
+0.2 pts -
difference between 3.4% and 3.2% conversion

Common mistakes & follow-ups

Common interview mistakes

  • Reporting a percentage change when a percentage-point change is meant.
  • Using the same green-above-target rule for churn as for revenue.
  • Showing a number with no target, so no one knows if it's good.

Likely interviewer follow-ups

  • How would you decide which KPIs go on an executive dashboard?
  • How do you handle lower-is-better metrics in status rules?
  • What makes a dashboard actionable?
Interview tip: Mention owners and thresholds. It shows you design dashboards for decisions, not for display.

Knowledge check

Loading quiz

Put it into practice

Practice related interview Q&A

Apply KPI Cards & Executive Dashboard Design with data science interview Q&A and hands-on practice.

Open Data Science Q&A →Machine Learning Q&A
Previous topic
Interactive Filters, Slicers & Drill-Downs
Next topic
Color Theory & Accessibility in Charts