UX for Analytics
Lesson opener
In one line: Analytics UX is getting the right answer in fewer glances — hierarchy, honest chart types, defaults, contrast, and labels that work when colour fails.
Why it matters: A correct model behind an unreadable page still fails. People miss the filter, misread the axis, or cannot tell red from green on a projector. Lessons 2–4 hired the numbers and named the audience. This lesson is how those numbers look and behave under time pressure.
Before this lesson: Financial dashboards
Before you start
| Resource | Link |
|---|---|
| Previous | Financial dashboards |
| Next | Storytelling with data |
The control tower at Malabar Freight
Farah is a BI developer at Malabar Freight, a Kochi logistics firm. Dispatch managers, finance, and a CEO who looks at the iPad in a car all open the same “control tower” report. It has fourteen visuals on one page, a rainbow legend, a 3D pie of lane mix, dual axes on a line chart (tonnes and margin %), and filters that default to all time. Accurate enough in the model. Hostile in use.
Microsoft documents both the visual types available in Power BI and how to create accessible reports (alt text, tab order, not encoding meaning in colour alone). Official references: Microsoft Learn, “Visualization types in Power BI” and “Creating accessible reports.” This lesson is the design decisions those docs cannot make for you.
Hierarchy is a decision, not a theme
If every card is the same size, nothing is important. Time-pressure hierarchy:
- The answer to the page’s primary question — largest, top strip or top-left.
- The one chart that explains that answer.
- Detail (tables, extra series) last, or on the next level (Drilldowns & navigation).
Exec pages stay sparse. Analyst pages may be denser. Do not ship one layout for both audiences. Malabar’s CEO iPad is lesson 2. The dispatch wallboard can show more rows. Copy-pasting the wallboard into the CEO pack is the failure mode.
Match the question to the analysis, then to the chart
Five analysis jobs show up in almost every dashboard. Pick the job first. The visual is a consequence.
| Job | Question | Default visual | Usually wrong |
|---|---|---|---|
| Comparison | Which region missed fill-rate? | Sorted bar, with a target line | Pie, map of tiny values |
| Trend | Is new pipeline rising this quarter? | Line (or column) over time, target as reference | Sorted bar of months out of order |
| Distribution | How spread out is delivery delay? | Histogram or buckets | One average tile that hides the tail |
| Relationship | Do heavier consignments arrive later? | Scatter (amount vs delay) | Two separate bars you must eyeball |
| Composition | What mix of lanes makes up tonnes? | Stacked bar with few parts, or a table | Pie with 12 slices; 3D pie always |
Power BI will offer ribbon charts, treemaps, and gauges. Use them when they beat the default at the job, not because they look new. Gauges eat space for one number that a KPI card with target already shows.
Pause. Farah’s CEO wants “share of tonnes by 18 lanes” as a doughnut. What do you offer instead, and why?
A doughnut with 18 slices is unreadable composition. Offer a sorted bar of tonnes by lane (comparison of parts) or a stacked bar of the top six lanes + Other. If the question is really “is the mix changing,” a stacked area or clustered bar over months is trend-of-composition — still not an 18-slice doughnut.
Colour, labels, and people who cannot use your legend
Colour is for meaning (variance, status), not decoration.
- One sequential scale per page for magnitudes (light to dark).
- Series colours stay stable across pages (Lane A is always the same).
- Never encode status in red/green only. Colour-blind users and grey projectors lose the message. Add a label, an icon, or +/− text. Microsoft’s accessibility guidance says not to use colour as the only way to convey information.
- Contrast: KPI numbers against the card background must stay readable. Pale grey on cream fails; check before you ship.
- Every visual needs a title that states the question (“Fill-rate vs 97% by region”) not the chart type (“Bar chart”).
- Axis units on the axis, not only in a footnote three pages away.
Print the page in greyscale once. If the story disappears, the encoding failed.
Misleading charts you should catch in review
These are design failures, not taste:
- Truncated value axis that makes a 2% miss look like a collapse. Start at zero for bar magnitudes unless you disclose a zoom and why.
- Dual axis with tonnes on the left and margin % on the right, scaled so they “meet.” That is a relationship claimed without a scatter or a written scale. Prefer two charts or a scatter.
- 3D pies and exploded slices that distort area.
- Rainbow sequential maps where the middle colour looks like a target.
- Cumulative area that can only go up, used to imply a healthy month.
Farah’s dual-axis chart is the worked mistake. Tonnes are 12,000; margin is 6.2%. The designer scaled the right axis so the lines kiss. The CEO says “margin tracks tonnes.” A scatter of weekly tonnes vs margin shows almost no relationship. Symptom: a false story in the Monday pack. Diagnosis: two grains forced onto one canvas. Correction: two small charts, or a scatter. Prevention: dual axes require a written reason in the review notes; default is no.
Filters, density, and performance
Sensible defaults (MTD, last 7 days, current fiscal) beat an empty “all time” that times out. Show applied filters as chips. Limit visible slicers; put rare ones behind More. Always offer Reset.
Density. Exec: few visuals, large type. Analyst: more table rows, still one question per page. Information density is a choice about who is reading, not a flex.
Performance. Too many visuals on one page, high-cardinality fields on axes (every consignment ID), and bidirectional filters across large tables make a report feel broken. Microsoft’s report-design tips include reducing visuals and avoiding clutter. If the page takes more than a few seconds on a normal laptop, cut visuals before you add a custom visual from the marketplace.
Walkthrough: rebuilding the control tower for two audiences
Task. Split Malabar’s one hostile page into a CEO iPad view and a dispatch wallboard, without changing the model.
Inputs (MTD to 21 Apr). Consignments due: 8,400. Delivered on the promised datetime: 7,392. On-time % = 7,392 / 8,400 = 88.0% vs a 95% target. Gap = −7.0 points. Missed consignments = 0.07 × 8,400 = 588. West-coast lane: 1,200 due, 1,056 on time → 1,056 / 1,200 = 88.0% (same rate, 144 of the 588 misses). Delay hours for the 588: most sit in a 2–6 hour bucket; 41 consignments sit above 18 hours — that tail is the dispatch problem, hidden by the 88% average.
CEO view (sparse). On-time % 88 vs 95 (higher better) with −7 pts and 588 labelled; delayed count 588 (lower better); cost per tonne vs plan. Driver: bar of on-time % by lane vs a 95% line, sorted worst-first. No pie, no dual axis (the 12,000-tonne vs 6.2% kiss is gone), no all-time default (MTD). Status is “miss” text plus colour.
Dispatch view (denser). Same three KPIs plus a table of the 25 most delayed consignments (the tail, not 8,400 rows), a histogram of delay hours, and a slicer defaulted to today. Lane colours match the CEO page so West-coast is the same ink on both.
Validation. Greyscale print of the CEO page still shows miss vs 95%. Tab order in Power BI hits title, KPIs, driver, table. Alt text on the driver chart states the miss (“West-coast lane 88% vs 95%”). A colleague who only sees the CEO page can name 588 and the lane; a dispatcher can name the 18-hour tail.
Second case: HR, not freight
A Gurgaon shared-services HR team wants “attrition mix.” Last quarter: 40 exits. Plan attrition rate 8% of 1,000 staff = 80 for the year, so a quarterly pace of 20; they are already at 40. A pie of 15 exit reasons with four slices of size 1 is composition gone wrong.
What to show. Bar of exit counts by reason, top eight + Other (comparison of parts). Trend of monthly attrition % vs the 8% annualised plan (trend). Distribution of tenure-at-exit in buckets 0–6 months, 7–24, 25+: 22 of 40 exits were under six months — the pie cannot ask that question.
The freight control tower does not become an HR page by renaming lanes to “reasons.” The jobs stay comparison, trend, and distribution.
Practice
A Ahmedabad water-utility dashboard shows: a 3D pie of complaints by ward, a dual-axis of rainfall vs complaint volume, a table of 8,000 tickets, red/green dots with no text, filters defaulting to all years.
The director’s question: which wards missed the 48-hour resolution target this month, and is the miss in the tail (few nightmare tickets) or broad?
Required. Name the analysis job, pick visuals, fix colour, set a default, and list what you delete.
Hints: the question is comparison + distribution, not composition of all history; dual-axis rainfall needs a reason or a separate chart.
Model solution. Bar of % resolved in 48 h by ward vs 48-hour target line (comparison). Histogram or buckets of hours-to-resolve (distribution). Default month = current. Status as “miss/hit” text plus colour. Delete 3D pie, dual-axis unless rainfall is a documented driver shown as a scatter or a second small chart, and the 8,000-row table (exceptions: 20 oldest open).
Independent: campus Wi-Fi, not utilities
Setting. An Indore university IT team. Question: which buildings miss the 99% uptime target this week, and are outages short blips or hour-long events?
Deliverable. Hierarchy sketch, two visuals with jobs named, colour/label plan that survives greyscale, default period, and two anti-patterns you refused.
Constraints. No 3D. No dual axis without a written relationship. No student-level table on the dean’s page.
Model approach. Bar of uptime by building vs 99%. Distribution of outage duration. Default = this week. Labels “below target” not only red. Refuse a pie of “share of outage minutes” as the only view (hides which building is off target).
Where this connects
You can now pick a chart from the analysis job, keep hierarchy honest, encode status without colour-only tricks, catch misleading axes, and split exec vs operational density. Storytelling in the next lesson puts a claim on top of these visuals; navigation in lesson 7 puts filters and drills underneath.
Workplace action. Print one live page in greyscale. If you cannot tell the miss, fix encoding before you add another visual.
Next lesson: Storytelling with data. Readable charts still fail if the meeting has no claim and no ask.