view source

Dashboard Design: KPI Layout, Filters and States

skill

Design or review a KPI dashboard: layout, chart choice, filters, loading and empty states, dark theme and accessibility. Use for dashboard design and UX.

Apache-2.0 Works from a brief, a metric list, a screenshot or a live URL. A screenshot cannot show hover, keyboard or loading behaviour.

instructions

Overview

A dashboard shows the most important information a named reader needs for a set of decisions, arranged on a single screen so it can be monitored at a glance (Few). Use this skill to design a new dashboard or review an existing one: which numbers earn a place, what form each takes, how the screen is laid out, how filters, hover, loading and empty states behave, and how it reads in a dark theme and without a mouse or colour vision. The deliverable is a design specification or a list of findings, each with the criterion it rests on. Building it in code and configuring a BI tool are separate jobs.

Mental model

  • A panel earns its place through a decision it informs. A number nobody acts on is removed.
  • A number without a comparison says nothing. Every figure sits next to a target, a prior period or a threshold.
  • The data is the only loud element. Borders, backgrounds and gridlines recede.
  • Every value is reachable without hover and without colour.

Rules

Frame the dashboard first

  1. Name the reader, the decisions the screen supports and how often they look.
  2. Classify it. An operational dashboard updates continuously, is time-sensitive and must grab attention when something breaks. An analytical dashboard is read with less time pressure and supports comparison and drill-down. A strategic one shows a few high-level measures against targets. The class sets density, refresh and interaction.
  3. Write the metric inventory: for each metric its definition, its comparison, its threshold or target, and the action a bad value triggers. Cut metrics with no action.

Pick the form of each panel

The data isUseNot
One current valueA tile: label, value, signed change against a named period, optional sparklineA one-bar chart
A few headline numbersOne row of tiles in the same anatomyA grouped bar chart
A measure against a target with good and bad rangesA bullet graph: bar, target mark, shaded rangesA radial gauge, which uses much space to say little
Progress toward a limitA linear meterA two-slice pie
Trend over timeLine
Comparison across categoriesSorted horizontal barsA pie for close values
Exact values to look up, or many categories that each matterA table with right-aligned numbers at one precision per columnMore colours
State of many itemsA status list: icon, text label and colour togetherColour alone

A change indicator's colour means good or bad, not up or down: rising cost is bad. Say which direction is good in the specification.

Lay out the screen

  • Order by importance: the most important content is at the top, largest and with the highest contrast, starting top left. Go from general to specific as the reader moves down.
  • What must be compared sits on one screen. Scrolling or splitting it across screens breaks the comparison.
  • Limit the views: Tableau's guidance is two or three per dashboard. Count a row of tiles or a column of bullet graphs as one view. When the story needs more, make a second dashboard or a drill-down rather than a denser screen.
  • Group related panels and separate groups with whitespace, not boxes. Align to one grid.

Colour and theme

  • Give colour one job per panel: identity, magnitude, direction from a midpoint, or status.
  • The same data set has the same colour on every panel of the dashboard.
  • Status colours are reserved. A status uses at least two of colour, shape and symbol, with a text label. A category never borrows the status red or green.
  • Marks that carry information have 3:1 contrast against what they touch, unless visible labels and values carry the same information.
  • Design the dark theme as its own set of colour steps and check each against the dark surface for contrast. On a dark surface a sequential scale runs the other way: the lightest step is the largest value.
  • Specify colours by role (surface, text, grid, series 1 to n, each status) with a light and a dark value, so the build swaps them in one place. In forced-colours mode the system overrides fills and strokes, so identity has to survive through labels and shapes.

Filters and time

  • Filters live in one place: a horizontal bar above the content or a vertical panel on the left, never inside one chart's menu.
  • A filter scopes every panel beneath it, so all the numbers agree. Show which filters are applied and offer one action that clears them.
  • State the time range and the time of the last update on the screen.
  • Match the refresh rate to how often the data changes; hourly data does not need a 30-second refresh. Content that updates by itself needs a way to pause it or to control the rate.
  • Every alert leads to an action. Alert on the symptom the reader feels, not on each possible cause.

Hover, focus and pointer

  • A tooltip adds detail; it never holds a value the reader cannot get elsewhere. Direct labels, the axis or a table view carry the essentials.
  • Whatever hover shows, keyboard focus shows too. Hover content can be dismissed without moving the pointer, can itself be hovered, and stays until the reader leaves it.
  • Pointer targets are at least 24 by 24 CSS pixels or are spaced so that 24-pixel circles around them do not overlap. For small points, attach the tooltip to the nearest point instead of the painted dot.
  • Names that come from data enter the page as text, never as markup.
  • Honour the reduced-motion setting: remove or replace transitions.

States

StateDesign
First load of the whole screenSkeleton that reserves each panel's final size, so nothing shifts when data arrives
One panel loadingA spinner inside that panel; nothing for loads under one second
RefreshKeep the previous data on screen, marked as updating; do not blank the panel
No data yetSay what will appear here and the one step that starts it
Filters return nothingSay so and offer to clear the filters
ErrorSay what failed and what to do next; keep the other panels working

Never show "no records" while data is still loading.

Accessibility

  • Each chart has a short text alternative and either a data table or a description of its message; give both when readers need both.
  • Numbers in columns use tabular figures so digits align. Large numbers use one compact format per axis or column (12.9K, 4.2M).
  • Review keyboard order: filters first, then panels in reading order.

Examples

Gauge row to bullet graphs. Bad: six radial gauges across the top. Good: six bullet graphs stacked in one column, each with its target mark and ranges, the worst one first.

Bare numbers to tiles with context. Bad: "Revenue 1,284,113". Good: "Revenue, last 30 days: $1.28M, up 8% on the previous 30 days", with a sparkline of the last 12 weeks.

Hover-only values to reachable values. Bad: a line chart whose values appear only in a tooltip on a 6-pixel dot. Good: the last point of each line is labelled, the tooltip snaps to the nearest date and lists every series, focus shows the same, and a table view holds all values.

Output format

Design specification, saved as dashboard-spec-[slug].md in the working directory when asked:

  1. Reader, decisions, class and viewing frequency
  2. Metric inventory: definition, comparison, target, action
  3. Layout: grid, panel order and sizes, what is above the fold
  4. Panel list: form, data, colour job, labels, and the text alternative
  5. Filters, time range and refresh
  6. States for each panel
  7. Colour roles with light and dark values
  8. Acceptance criteria for the build: contrast, keyboard parity, target size, reduced motion, data inserted as text

A review lists findings by impact on the reader's decision, each with the panel, the criterion and the smallest fix, and says what a screenshot could not show.

When the user cannot be asked, name the reader and the decisions you assumed.

Checklist

  • Reader, decisions and dashboard class are stated.
  • Every metric has a comparison and an action; the rest are cut.
  • Each panel's form matches its data; no gauges where a bullet graph fits.
  • The most important content is top left and largest; compared content shares a screen.
  • Filters sit in one place and scope every panel.
  • No value depends on hover or on colour alone.
  • Loading, refresh, empty, no-results and error states are specified.
  • Light and dark colour roles are both specified.
  • Targets, contrast, keyboard parity and reduced motion are in the acceptance criteria.

Composition / References