Data Wrangling and Visualization

Chapter 12
Dashboards, Interactivity and Data Storytelling

Diploma in Data science
Data Wrangling and Visualization   •   Diploma

Dashboards, Interactivity and Data Storytelling

Introduction

A dashboard is an organised visual interface that helps people monitor performance, investigate variation and decide what to do next. It is not simply a collection of charts. A useful dashboard connects data, managerial questions, visual encoding, interaction and action. Data storytelling extends this purpose by arranging evidence into a sequence that explains what happened, why it matters and what response is justified.

In organisations, dashboards may support strategic review, operational control, financial planning, customer service, public administration or quality improvement. Their value depends less on the number of visualisations than on the quality of the decisions they support. A dashboard showing dozens of attractive charts can still fail if definitions are unclear, filters produce misleading comparisons, measures are delayed or users cannot identify an appropriate action.

This chapter presents a practical framework for designing dashboards for managerial use. It explains requirements analysis, KPI design, filters, drill-downs, narrative sequences, accessibility, governance and evaluation. The emphasis is on diploma-level professional application: students should be able to translate a business question into a reliable and usable interactive product.

Learning Objectives

By the end of this chapter, you should be able to:

  1. Distinguish dashboards, reports, exploratory analyses and data stories.
  2. Translate managerial questions into appropriate KPIs and visual displays.
  3. Design filters, drill-downs and interactions that support investigation without creating confusion.
  4. Apply principles of accessibility, usability, data quality and visual integrity.
  5. Construct a narrative sequence that communicates findings, limitations and recommended actions.
  6. Evaluate a dashboard for technical, analytical, ethical and managerial quality.

1. Dashboards as Decision-Support Systems

A dashboard is best understood as a small decision-support system with four connected layers:

  • Data layer: sources, extraction, transformation, refresh frequency and data quality.
  • Measurement layer: definitions of metrics, dimensions, targets and comparison periods.
  • Visual layer: charts, tables, indicators, annotations and layout.
  • Interaction and action layer: filters, drill-downs, alerts, explanations and recommended responses.

A breakdown in any layer reduces trust. For example, a well-designed chart is not useful if the underlying sales data exclude cancelled orders. Similarly, accurate data may be ineffective when the dashboard presents an unexplained percentage with no target or decision context.

Dashboard, report, analysis and story

These terms overlap but serve different purposes.

ProductMain purposeTypical structureUser activity
DashboardMonitor and investigate performanceKPIs, trends, exceptions, controlsScan, filter, drill down
ReportRecord and communicate informationPages or sections with fixed contentRead and compare
Exploratory analysisDiscover patterns and questionsFlexible charts, calculations, testsExperiment and investigate
Data storyExplain evidence and support a conclusionDeliberate narrative sequenceFollow an argument and act

A dashboard may contain a story, and a data story may be delivered through a dashboard. The distinction concerns emphasis: dashboards support repeated monitoring, whereas stories usually guide an audience through a selected interpretation.

2. Begin with the Managerial Question

Dashboard design should begin with decisions, not chart types. A requirements interview should establish:

  • Who will use the product?
  • Which decision or process does it support?
  • What action might follow a particular result?
  • Which entities, periods and locations must be compared?
  • How often must data be refreshed?
  • What level of detail is appropriate?
  • Which definitions and targets are authoritative?
  • What privacy restrictions apply?

A useful conversion is:

Managerial question → measure → comparison → visual form → interaction → action

For example:

Question: Are delivery delays concentrated in particular depots?

Measure: Percentage of deliveries later than the agreed service time.

Comparison: Depot, week and service category.

Visual form: KPI card for overall delay rate, line chart for weekly trend and ranked bar chart for depots.

Interaction: Select date range and service category; select a depot to view routes.

Action: Review staffing, routing or supplier performance at depots exceeding the agreed threshold.

This chain prevents the common error of selecting a visualisation first and attempting to invent a purpose afterwards.

Audience and task analysis

Executives generally need a compact view of direction, risk and exceptions. Operational supervisors need more frequent refreshes and actionable detail. Analysts need definitions, downloadable data and greater flexibility. A single dashboard can serve several audiences only if it uses clear entry points, appropriate permissions and carefully designed levels of detail. Otherwise, separate views are preferable.

3. KPI Design and Measurement Integrity

A key performance indicator (KPI) is a measure selected because it reflects progress toward an important objective. Not every metric is a KPI. A KPI should have a defined purpose, population, unit, time basis, target or benchmark where appropriate, and owner.

Common measures include:

  • Count: number of events or entities.
  • Sum: total value, such as revenue or hours.
  • Average: arithmetic mean of a measure.
  • Rate or proportion: events divided by an appropriate denominator.
  • Ratio: relationship between two quantities, not necessarily bounded by 0 and 1.
  • Percentile: a value below which a specified proportion of observations falls.

For a proportion or rate, the general form is:

p = x / n

where x is the number of qualifying events and n is the relevant denominator. If displayed as a percentage, calculate 100 × p%. The denominator must be stated. For example, a complaint rate per 1,000 transactions is:

r = (c / t) × 1,000

where c is the number of complaints and t is the number of transactions. The multiplier is a reporting convention; it does not alter the underlying proportion. The formula is valid only when complaints and transactions refer to the same population and period.

For change between a baseline value and a current value:

Percentage change = ((Current − Baseline) / Baseline) × 100

This requires a non-zero baseline and a meaningful comparison. A percentage change can be misleading when the baseline is very small. A fall from 2 cases to 1 case is a 50% decrease, but the practical significance may be limited.

KPI specification

A KPI catalogue should record:

FieldExample
NameOn-time delivery rate
Business purposeMonitor service reliability
DefinitionDeliveries completed by the promised time
NumeratorOn-time completed deliveries
DenominatorAll eligible completed deliveries
UnitPercentage
GrainDelivery
Time basisWeek, month, quarter
TargetAt least 95%
ExclusionsCancelled orders, if formally defined
OwnerOperations manager
RefreshDaily at 06:00
CaveatsLate status updates may understate delays

The terms “sales,” “customer,” “active user” and “profit” often have multiple operational definitions. A dashboard should expose definitions through a glossary or information panel rather than assuming that users interpret them identically.

Targets, benchmarks and statistical caution

A target is a desired level established by policy or management. A benchmark may be an industry comparison, historical value or peer value. Neither automatically proves good or poor performance. Targets can become obsolete, and peer comparisons may differ in case mix, resources or measurement practice.

Colour coding should not imply more certainty than the data support. A red indicator can signal a threshold breach, but it does not explain the cause. When sample sizes are small, annotate the value or show the count alongside the rate. Where appropriate, include a confidence interval or caution that the estimate is unstable. A dashboard is not a substitute for formal statistical inference, but it should avoid presenting noisy values as precise facts.

4. Visual and Layout Design

A dashboard’s visual hierarchy should reflect the order in which users need information:

  1. What is the current state?
  2. Is performance improving or worsening?
  3. Where is the exception?
  4. What may explain it?
  5. What action is available?

A practical layout places headline KPIs near the top, trends and comparisons in the central area, and explanatory detail or records lower in the page. The layout should remain understandable when printed or viewed on a small screen.

Choosing visual forms

  • KPI card: a single current value with target, period and comparison.
  • Line chart: change over ordered time, especially when continuity matters.
  • Bar chart: comparison among categories; sort bars when ranking matters.
  • Dot plot: compact comparison with less visual weight than bars.
  • Scatter plot: relationship between two quantitative variables; it does not by itself establish causation.
  • Table: exact values, lookup and detailed exception lists.
  • Map: geographic patterns when location is analytically relevant; maps can mislead when areas differ greatly in population or exposure.
  • Funnel: stages in a process when each stage has a clear sequential meaning; it should not be used merely because values decrease.

Pie and doughnut charts can be acceptable for a small number of mutually exclusive parts of a whole, but comparison is often easier with bars. Three-dimensional effects, excessive decoration and dual axes commonly reduce accuracy or encourage misinterpretation.

Axes should normally begin at zero for bar charts because bar length encodes magnitude. If a non-zero baseline is necessary for a line chart, it must be visible and clearly labelled. Titles should communicate the finding or question, not merely the chart type. “Late deliveries rose in March” is more useful than “Monthly line chart.”

5. Interactivity: Filters, Parameters and Drill-Downs

Interactivity is valuable when it reduces search effort or enables a legitimate question. It is harmful when users cannot predict its effect or when it encourages arbitrary slicing until a favourable result appears.

Filters

A filter restricts the records or categories included in a view. Good filters have:

  • clear labels and sensible defaults;
  • visible indication of the active selection;
  • an easy reset function;
  • a manageable number of choices;
  • consistent application across relevant charts;
  • an explanation of whether the filter changes the numerator, denominator or both.

A date filter should specify whether it refers to transaction date, reporting date, completion date or another field. “Region” should identify whether it means customer location, branch location or service location.

Filters should be limited to questions users genuinely need to ask. Ten independent controls may create thousands of possible states and make testing difficult. Hierarchical filters, such as year → quarter → month, can reduce clutter, but users should not be forced through a hierarchy when a direct selection is more efficient.

Drill-downs and drill-throughs

A drill-down moves from an aggregate to a lower level within the same analytical structure, such as year → quarter → month or country → region → branch. A drill-through opens a related detail view, such as the transactions behind an exception.

A sound drill path preserves context. It should show the selected parent category, the active time period and the measure definition. Users should be able to return to the previous level. Drill-down should not imply causation: finding that one branch has a high rate identifies where to investigate, not why the rate is high.

Interaction design principles

Interactions should be:

  • Discoverable: users can see how to use them.
  • Predictable: the result of an action is understandable.
  • Reversible: selections can be cleared or undone.
  • Consistent: similar controls behave similarly.
  • Responsive: loading states and delays are communicated.
  • Relevant: each interaction supports a known question.

Cross-filtering can be powerful: selecting a product in one chart highlights its sales trend elsewhere. However, hidden cross-filter effects can confuse users. Provide visual feedback and, where possible, a short explanation of what has changed.

6. Accessibility and Inclusive Design

Accessibility is a quality requirement, not a cosmetic enhancement. Users may have visual, motor, auditory, cognitive or language-related needs. Accessible dashboards also tend to be clearer for everyone.

Important practices include:

  • Do not use colour as the only indication of status; combine colour with text, symbols or position.
  • Use sufficient contrast between text, marks and backgrounds.
  • Provide descriptive titles, labels and alternative text for meaningful visualisations.
  • Offer a table or text equivalent for charts where exact values or trends matter.
  • Ensure keyboard access to filters, tabs and controls.
  • Use readable type, adequate spacing and logical focus order.
  • Avoid rapid animation, flashing and unnecessary motion.
  • Write plain, direct labels and explain technical terms.
  • Do not rely on red–green distinctions, since colour-vision deficiencies are common.

Accessibility should be tested with keyboard navigation, screen readers where available, colour-contrast tools and representative users. Compliance with an applicable standard, such as WCAG, is useful, but compliance alone does not guarantee that the dashboard is understandable or operationally useful.

7. Data Storytelling and Narrative Sequence

Data storytelling combines evidence, explanation and audience relevance. A credible story is not a dramatic claim imposed on data; it is a transparent argument in which the evidence, uncertainty and limits are visible.

A practical narrative sequence is:

  1. Context: What process, population or objective is being examined?
  2. Question: What decision needs support?
  3. Evidence: What does the data show?
  4. Comparison: Is the result high, low, changing or concentrated?
  5. Interpretation: What plausible explanations are consistent with the evidence?
  6. Limitation: What is unknown or measured imperfectly?
  7. Recommendation: What action should be taken, by whom and when?
  8. Follow-up: Which measure will indicate whether the action worked?

The sequence may be implemented as a presentation, a guided dashboard, a report or a briefing. Each visual should have a role in the argument. A chart that does not support the question or conclusion should be removed.

Separating observation from explanation

“Returns increased from 4.2% to 6.1%” is an observation if the measure and comparison are valid. “Returns increased because customers disliked the new packaging” is an explanation requiring additional evidence. The dashboard may show a temporal association between packaging changes and returns, but this does not establish causation. Possible confounding factors include product mix, seasonality, customer composition and changes in recording practice.

Language should reflect evidence: “associated with,” “consistent with,” “may indicate” and “requires investigation” are often more accurate than “caused” or “proved.” Recommendations should identify assumptions and specify an evaluation plan.

8. Applied Case: A Regional Public Transport Dashboard

The following is an illustrative case rather than a report of a real organisation.

Background and problem

A regional transport authority receives complaints that buses are unreliable. Managers have a monthly spreadsheet containing journeys, scheduled arrival times, actual arrival times, cancellations and passenger counts. The spreadsheet shows an overall on-time rate but does not identify where or when failures occur. Managers need to decide whether to adjust schedules, allocate spare vehicles or investigate particular operators.

Analysis

The team defines an eligible journey as one with a scheduled and recorded actual arrival time. A journey is on time when it arrives no more than five minutes after schedule. Cancelled journeys are reported separately rather than silently included in the denominator. The principal KPI is:

On-time rate = (On-time eligible journeys / Eligible journeys) × 100

The dashboard includes the KPI, a target line at 90%, a weekly trend, a ranked bar chart by route, a cancellation indicator and a detail table. Users can filter by month, depot, route, day type and operator. Selecting a route drills to direction, time band and individual journey records.

Approach and solution

The first screen answers “How reliable is the network this month?” The second view answers “Where is the problem concentrated?” The detail view answers “Which journeys require investigation?” A glossary explains the five-minute tolerance, the treatment of cancellations and the data refresh time.

The dashboard uses text labels as well as colour: “Above target,” “Near target” and “Below target.” It provides a table alternative to charts and allows keyboard navigation. Small routes display both rate and eligible journey count so that a high or low percentage is not interpreted without context.

Outcome

Managers discover that the network-wide rate is 88%, but two high-volume routes account for much of the shortfall during weekday evening periods. A separate route has a lower rate but few eligible journeys and requires data-quality review before operational action. The authority adjusts running-time assumptions on the two high-volume routes and begins a review of missing arrival records.

Learning points

The case demonstrates that an overall KPI can conceal concentration and that a drill-down must retain definitions. It also shows why data quality and operational intervention should be separated: missing timestamps are not automatically late journeys. Finally, the dashboard recommends investigation and action without claiming that the visual pattern alone proves its cause.

9. Governance, Ethics and Responsible Use

Dashboards can distribute power by determining which outcomes are visible and which are ignored. Responsible practice therefore includes:

  • Data minimisation: display only personal data necessary for the task.
  • Access control: restrict sensitive records by role and legitimate purpose.
  • Aggregation: use group-level views where individual identification is unnecessary.
  • Auditability: record data sources, transformations, refresh times and definition changes.
  • Versioning: preserve historical definitions or clearly mark breaks in series.
  • Fairness review: examine whether measures disadvantage groups because of unequal exposure, access or recording practices.
  • Uncertainty communication: show counts, caveats and missingness where they affect interpretation.
  • Human oversight: avoid treating a dashboard threshold as an automatic decision when consequences are significant.

A measure can be technically accurate yet ethically inappropriate. For example, comparing complaint counts without accounting for population, service usage or reporting access may stigmatise a community. Personalised dashboards should protect confidentiality, and screenshots or exports should be treated as potential disclosures.

10. Technology, Automation and AI

Modern dashboard platforms provide semantic layers, scheduled refreshes, natural-language queries, anomaly detection and automated narrative summaries. These features can improve access, but they do not remove the need for data stewardship.

AI-generated explanations should be checked against source data, metric definitions and known limitations. An automated statement such as “performance deteriorated because staffing fell” may be unsupported if staffing was not measured or if other variables changed. Natural-language interfaces can also produce inconsistent interpretations of terms such as “revenue” or “active customer” unless a governed semantic model is used.

Good practice is to retain human approval for published narratives, show the underlying calculation, log generated outputs and provide a route for correction. Automation should reduce repetitive work, not conceal assumptions.

11. Testing and Evaluation

A dashboard should be tested at several levels:

  1. Data tests: totals reconcile, joins do not duplicate records, dates and categories are valid, and missingness is measured.
  2. Calculation tests: KPI results are checked against independently calculated samples and edge cases such as zero denominators.
  3. Interaction tests: filters, resets, drill paths and permissions behave as specified.
  4. Visual tests: labels, units, scales, targets and legends are accurate.
  5. Accessibility tests: keyboard operation, contrast, text alternatives and focus order are examined.
  6. User tests: representative users complete realistic tasks and explain their interpretation.
  7. Operational tests: refresh duration, failure alerts, ownership and support procedures are established.

Useful evaluation questions include: Can users identify the current status quickly? Can they explain how a KPI is calculated? Can they locate an exception? Can they distinguish evidence from interpretation? Can they identify an appropriate action and its owner? A dashboard that is technically correct but routinely misread requires redesign.

12. Best-Practice Design Workflow

A disciplined workflow is:

  1. Define the decision, audience and required action.
  2. Inventory data sources and assess quality, privacy and refresh constraints.
  3. Specify KPIs, dimensions, denominators, targets and caveats.
  4. Sketch the layout and narrative before building visuals.
  5. Build a small prototype using representative data.
  6. Add only interactions that support stated questions.
  7. Validate calculations independently.
  8. Conduct accessibility and user testing.
  9. Publish definitions, ownership and refresh information.
  10. Monitor usage, errors and decision outcomes, then improve iteratively.

The final product should make the next responsible action easier, not merely make information available.

Chapter Summary

Dashboards are decision-support systems comprising data, measures, visualisations and interaction. Effective design begins with managerial questions and translates them into well-defined KPIs, comparisons, visual forms, filters and actions. Rates and percentage changes require appropriate denominators, valid comparison periods and clear definitions. Filters and drill-downs should be discoverable, reversible and context-preserving. Data storytelling organises context, evidence, interpretation, limitations and recommendations into a transparent sequence. Accessibility requires alternatives to colour, readable presentation, keyboard access and meaningful text. Governance includes privacy, auditability, fairness and human oversight, especially when automation or AI is used. Finally, dashboards must be tested for data correctness, calculation accuracy, usability, accessibility and operational reliability.

Key Terms

Dashboard: An interactive visual interface for monitoring and investigating information.

KPI: A selected measure used to assess progress toward an important objective.

Denominator: The reference population or total used to calculate a rate or proportion.

Metric: A defined quantitative measure.

Target: A desired performance level established by policy or management.

Benchmark: A comparison value from history, peers, standards or another reference.

Filter: A control that restricts data included in a view.

Drill-down: Movement from an aggregate level to a more detailed level.

Drill-through: Opening a related detail view for the selected data.

Cross-filtering: An interaction in which a selection in one visual affects another.

Data story: A structured explanation that connects evidence to meaning and action.

Narrative sequence: The ordered progression from context and question to evidence, limitation and recommendation.

Data grain: The level represented by one record, such as one transaction or journey.

Rate: A measure of events relative to a specified denominator.

Semantic layer: A governed representation of business terms, relationships and calculations.

Accessibility: Design that enables people with varied abilities to use and understand a product.

Data quality: The fitness of data for its intended use, including accuracy, completeness and timeliness.

Governance: Policies and controls for responsible data management and use.

Drill path: The defined sequence through related levels of detail.

Confounding: A situation in which another factor affects an observed relationship and complicates interpretation.

Review Questions

Short Answer Questions

  1. What distinguishes a dashboard from a conventional report?
  2. Why must the denominator of a rate be documented?
  3. Define drill-down and drill-through.
  4. State two ways to make a dashboard accessible.
  5. Why should observations be separated from explanations in data storytelling?

Long Answer Questions

  1. Explain how a managerial question can be translated into a KPI, visualisation, interaction and action.
  2. Discuss the design principles of effective filters and drill-downs.
  3. Explain the role of targets, benchmarks and caveats in KPI interpretation.
  4. Describe a complete narrative sequence for communicating a performance problem.
  5. Discuss governance and ethical risks associated with dashboards containing personal or sensitive data.

Analytical / Application Questions

  1. A service has 480 eligible cases, of which 420 meet the standard. Calculate the compliance rate and identify two pieces of context that should accompany it.
  2. Design a dashboard for a college attendance manager. Specify three KPIs, two filters, one drill-down path and one accessibility provision, explaining the purpose of each.
  3. A dashboard shows that complaints doubled after a policy change. Explain why this does not by itself prove causation and propose a suitable follow-up analysis.

Multiple Choice Questions with Answers

Question 1

Which feature most directly distinguishes a dashboard from a fixed report?

A. It always contains more than ten charts.

B. It supports interactive monitoring and investigation.

C. It is distributed only as a PDF.

D. It never uses tables.

Correct Answer: B. It supports interactive monitoring and investigation.

Question 2

A complaint rate is calculated as complaints divided by transactions. What is the main reason for documenting the denominator?

A. To determine the chart colour.

B. To ensure the rate’s reference population is understood.

C. To make every rate equal to 100%.

D. To remove the need for data validation.

Correct Answer: B. To ensure the rate’s reference population is understood.

Question 3

Which visualisation is generally most suitable for showing change over ordered time?

A. Line chart

B. Pie chart with 20 slices

C. Decorative map

D. Unsorted text list

Correct Answer: A. Line chart

Question 4

What is a drill-down?

A. Deleting records below a threshold

B. Moving from an aggregate to a more detailed level

C. Changing the database password

D. Replacing a KPI with a narrative

Correct Answer: B. Moving from an aggregate to a more detailed level

Question 5

Which practice improves accessibility?

A. Using red and green as the only status indicators

B. Removing all labels to reduce clutter

C. Providing text or table alternatives for important charts

D. Using rapid animation to attract attention

Correct Answer: C. Providing text or table alternatives for important charts

Question 6

A service records 420 compliant cases out of 480 eligible cases. What is the compliance rate?

A. 75.0%

B. 80.0%

C. 87.5%

D. 90.0%

Correct Answer: C. 87.5%

Question 7

Which statement best separates observation from explanation?

A. Returns rose, therefore packaging caused the increase.

B. Returns rose after the change; other factors require investigation.

C. Returns rose, proving customer dissatisfaction.

D. Returns rose, so no additional evidence is needed.

Correct Answer: B. Returns rose after the change; other factors require investigation.

Question 8

What is the principal purpose of a KPI catalogue?

A. To decorate the dashboard interface

B. To document definitions, calculation rules, ownership and caveats

C. To prevent users from applying filters

D. To replace all data-quality tests

Correct Answer: B. To document definitions, calculation rules, ownership and caveats

Question 9

Why should a small subgroup’s percentage be shown with its underlying count?

A. Percentages are never useful.

B. Small counts can make percentages unstable or misleading.

C. Counts always prove causation.

D. It guarantees statistical significance.

Correct Answer: B. Small counts can make percentages unstable or misleading.

Question 10

Which is an appropriate governance practice for an AI-generated dashboard narrative?

A. Publish it without checking its source calculations.

B. Allow it to infer causes from any correlation.

C. Review it against definitions, source data and limitations.

D. Remove the metric glossary to simplify the output.

Correct Answer: C. Review it against definitions, source data and limitations.

Data Wrangling and Visualization
Chapter 12 of 15