Chapter 13
Data Storytelling, Reporting and Reproducibility
Diploma in Artificial Intelligence and Machine Learning
Data Analysis and Visualization
•
Diploma
Data Storytelling, Reporting and Reproducibility
Introduction
Data analysis creates value only when its results can be understood, trusted and used. A technically correct model or visualization may still fail if decision-makers cannot identify the main message, distinguish evidence from opinion, or determine what action is justified. Data storytelling connects analysis with communication: it combines evidence, explanation and context into a coherent account that supports a decision.
This chapter examines how analysts communicate findings through narratives, visual annotations, executive summaries and recommendations. It also explains how to separate observation from interpretation, communicate uncertainty, tailor reports to different audiences and construct reproducible analytical workflows using notebooks, version control and documentation.
A useful data story answers five questions:
What decision or problem is being addressed?
What evidence was collected and analyzed?
What patterns or relationships are visible?
How certain are the conclusions?
What action is recommended, and why?
A data story is not permission to exaggerate. The narrative must remain faithful to the data, acknowledge limitations and make clear where evidence ends and judgment begins.
Learning Objectives
By the end of this chapter, you should be able to:
construct a coherent data narrative for a defined audience;
distinguish observations, interpretations, assumptions and recommendations;
use titles, annotations and visual hierarchy to direct attention;
write concise executive summaries and technically adequate reports;
quantify and communicate uncertainty using appropriate statistical language;
tailor communication to managerial, operational and technical audiences;
use notebooks, version control, data dictionaries and workflow documentation;
evaluate the reproducibility, ethical quality and governance of an analytical report.
1. From Analysis to Decision
Analysis is an intermediate activity. Its purpose is not merely to produce charts or calculations but to reduce uncertainty about a question. Communication converts analytical results into an understandable argument.
Each link should be explicit. For example, a report might state:
Question: Has delivery performance deteriorated in the last quarter?
Data: Completed deliveries recorded between January and September.
Method: Compare monthly on-time rates, controlling for region where appropriate.
Evidence: The overall on-time rate fell from 92% to 86%.
Interpretation: The decline coincided with increased order volume and a shortage of drivers.
Decision: Increase driver capacity in the two most affected regions.
Action: Pilot additional shifts for eight weeks and monitor on-time performance.
The first four elements concern evidence. The interpretation explains a possible meaning, while the decision and action involve judgment. A responsible report does not present all seven elements as if they had the same evidential status.
Observation, interpretation and recommendation
An observation is a directly supported description of data. An interpretation explains what the observation may mean. A recommendation proposes an action based on evidence, constraints and objectives.
Statement
Category
Reason
Average response time increased from 18 to 24 minutes.
Observation
Directly calculated from recorded data.
The increase may reflect higher evening demand.
Interpretation
Offers an explanation that requires further assessment.
Add one evening support agent during the pilot period.
Recommendation
Proposes an intervention.
The new staffing plan will solve the problem.
Overclaim
Expresses certainty not justified by the evidence.
Useful language helps maintain the distinction. Use “the data show” or “the measured rate was” for observations. Use “may indicate,” “is consistent with” or “one possible explanation is” for interpretations. Use “we recommend” for decisions that depend on explicit assumptions and priorities.
The narrative arc
Most effective analytical reports have a beginning, middle and end:
Context: Explain the problem, audience and decision.
Tension or finding: Identify the important change, comparison, risk or opportunity.
Evidence: Present the smallest set of analyses needed to support the finding.
Meaning: Explain operational or strategic implications.
Action: State what should happen next, including ownership and timing.
The narrative should not hide inconvenient results. If a result conflicts with the original expectation, that conflict is part of the story. Selective reporting damages trust and can produce poor decisions.
2. Designing a Clear Data Story
Begin with the audience and decision
Before selecting a chart, define:
who will read or hear the message;
what they already know;
what decision they control;
how much time they have;
what level of technical detail they require;
what risks arise if the conclusion is misunderstood.
A senior manager may need a one-page summary containing the business impact, confidence level, recommendation and major risk. A data scientist may need the query, feature definitions, model diagnostics and sensitivity analysis. Both audiences should receive the same underlying truth, but not necessarily the same presentation.
Message hierarchy
A report should have one primary message, several supporting findings and a clear action. A practical hierarchy is:
Headline: the most important conclusion;
Evidence: two or three facts that support it;
Qualification: limitations or uncertainty;
Recommendation: proposed action and success measure.
Titles should communicate findings rather than merely identify chart contents. “On-time delivery fell to 86% after July” is more informative than “Monthly delivery performance.” However, a finding-based title must be accurate and should not imply causality unless causality has been established.
Visual annotations
Annotations reduce the effort required to interpret a visualization. They may identify:
a relevant threshold or target;
a statistically or operationally unusual value;
the date of a policy change;
a maximum, minimum or turning point;
a data-quality gap;
the value most relevant to the decision.
Annotations should be sparse, precise and visually subordinate to the data. Excessive labels create clutter and can give unimportant values equal prominence. A reference line should be labeled with its meaning, such as “service-level target: 90%,” rather than simply “line.”
Report structure
A professional analytical report commonly includes:
Executive summary
Decision context and questions
Data sources and definitions
Methods and assumptions
Key findings and visual evidence
Uncertainty, limitations and risks
Recommendations and implementation plan
Appendices, technical details and reproducibility information
This structure is flexible. A short operational report may combine methods and limitations, while a regulated or scientific report may require extensive documentation.
3. Executive Summaries and Recommendations
An executive summary is not a shortened methods section. It is a decision-oriented account that allows a reader to understand the situation without reading the full report.
A useful executive summary usually states:
the problem and scope;
the principal finding, with an appropriate measure;
the practical or financial significance;
important uncertainty or limitations;
the recommended action;
the owner, time frame or next measurement.
For example:
Customer cancellations increased from 7.8% in April to 10.4% in June, with the largest increase among first-time customers using mobile checkout. The analysis is observational and cannot establish that the checkout redesign caused the increase. We recommend a controlled usability test and temporary monitoring of checkout errors before committing to a full redesign.
This summary gives a measured result, identifies a segment, distinguishes association from causation and proposes a test rather than asserting an unverified explanation.
Recommendations as decision instruments
A recommendation should connect evidence to action. It should specify:
the proposed intervention;
why it addresses the finding;
required resources;
expected benefit or success criterion;
risks and safeguards;
how results will be monitored.
Recommendations should be proportionate to evidence. Descriptive data may justify investigation, monitoring or a pilot. Stronger causal evidence may justify a larger intervention. Where several actions are plausible, present alternatives and the trade-offs among cost, speed, risk and expected impact.
4. Quantifying and Communicating Uncertainty
Every measurement contains uncertainty. It may arise from sampling variation, missing data, measurement error, changing definitions, model assumptions or future conditions. Uncertainty should be communicated as part of the result, not hidden in a technical appendix.
Proportions and rates
For a sample proportion, the estimated proportion is:
p̂ = x / n
where x is the number of cases with the characteristic of interest and n is the total number of eligible cases. The estimate has no units, although it may be expressed as a percentage by multiplying by 100.
For a difference between two proportions, the estimate is:
∆p̂ = p̂₁ − p̂₂
where p̂₁ and p̂₂ are proportions measured under two groups or periods. The groups should have clearly defined denominators.
A rate must always identify its denominator and time basis. “Incidents increased by 20%” is incomplete if the population or exposure changed. “Incidents per 1,000 transactions increased from 4.0 to 4.8” is more interpretable.
Confidence intervals
For a sample mean, a commonly used confidence interval is:
x̄ ± t* × s / √n
where x̄ is the sample mean, s is the sample standard deviation, n is the sample size, and t* is a critical value determined by the selected confidence level and degrees of freedom. This interval is appropriate when observations are reasonably independent and the sampling or estimation assumptions are defensible. For small or strongly non-normal samples, alternative methods may be preferable.
For a proportion, a normal approximation is sometimes written as:
p̂ ± z* × √[p̂(1 − p̂) / n]
where z* is the standard-normal critical value. This approximation can be unreliable for small samples or proportions close to 0 or 1; Wilson or exact intervals may be more appropriate.
A 95% confidence interval does not mean that there is a 95% probability that the already calculated fixed parameter lies inside this particular interval. Under repeated sampling and valid assumptions, the method would capture the true parameter in approximately 95% of intervals. In practical reporting, it is acceptable to say that the data are compatible with a range of values, provided the method and assumptions are stated.
Worked example: reporting a proportion
Suppose 84 of 120 sampled support tickets were resolved within the service target.
p̂ = 84 / 120 = 0.70
The observed rate is therefore 70%. A simple approximate standard error is:
SE = √[0.70 × 0.30 / 120] ≈ 0.0418
Using z* = 1.96 for an approximate 95% interval:
0.70 ± 1.96 × 0.0418 ≈ 0.70 ± 0.082
The approximate interval is 61.8% to 78.2%. Because this is a moderate sample and the estimate is not close to a boundary, the approximation may be informative, but a production report should use a documented interval method and state whether the sample was representative.
Practical uncertainty language
Prefer precise expressions such as:
“The estimated rate was 70%; the approximate 95% interval was 62%–78%.”
“The difference was 4 percentage points, but the sample is too small to distinguish a stable change from random variation.”
“The model’s validation performance was higher on historical data than on the later holdout period.”
Avoid “the result is proven,” “the model is 95% accurate” without defining the metric, or “there is no effect” merely because a test did not reach a chosen significance threshold.
5. Reporting for Different Audiences
Audience adaptation changes emphasis, not truth.
Audience
Primary concern
Useful content
Executive or managerial
Decision, impact and risk
Headline finding, financial or operational effect, recommendation, uncertainty
Operational team
Implementation and monitoring
Segment details, thresholds, workflow changes, ownership and timing
Technical team
Validity and reproducibility
Data definitions, code, assumptions, diagnostics and sensitivity analysis
External or regulated audience
Accountability and comparability
Scope, methodology, limitations, governance and audit trail
A managerial report may place technical details in an appendix, but it should not omit limitations that could change the decision. A technical report may include formulas and code, but it should still state why the result matters.
Accessibility is part of professional reporting. Use readable font sizes, sufficient contrast, descriptive labels, alternative text for figures, direct language and color schemes that remain interpretable for people with color-vision differences. Do not communicate critical distinctions through color alone.
6. Reproducible Analytical Workflows
A result is reproducible when another competent analyst can obtain the same or substantively equivalent result from the recorded data, code, environment and instructions. Reproducibility is stronger than simply sharing a final chart.
A reproducible workflow records:
the original data source and retrieval date;
data ownership, permissions and privacy restrictions;
file formats, schemas and data dictionaries;
transformations, filters and exclusion rules;
software versions and relevant package dependencies;
code used for analysis and visualization;
random seeds where stochastic procedures are used;
outputs, validation checks and known limitations;
the identity or version of the report itself.
Notebooks
Computational notebooks combine prose, code, outputs and visualizations. They are valuable for exploration, teaching and transparent communication. However, notebooks can become unreliable when cells are executed out of order, hidden state persists, outputs are stale or large data files are embedded without control.
Good notebook practice includes:
Start with a clear purpose and data description.
Separate data loading, cleaning, analysis and visualization sections.
Restart the kernel and run all cells from top to bottom before publication.
Display key validation checks, such as row counts and missing-value summaries.
Keep sensitive data out of shared notebooks.
Move reusable functions into tested modules when the project grows.
Record package versions and random seeds.
Remove exploratory dead ends from the final communication copy.
Version control
Version control systems record changes to code and documentation. A useful repository separates raw, processed and output material, subject to data-governance rules. Raw confidential data should not be committed casually to a public or shared repository.
Commit messages should describe meaningful changes, such as “correct denominator for regional service rate,” rather than vague messages such as “updates.” Tags or release identifiers can connect a published report to the exact analytical version.
Data and workflow documentation
A data dictionary defines field names, meanings, units, permitted values and missing-value conventions. A workflow document explains the sequence from acquisition to publication. A decision log records important choices, such as why duplicate records were removed or why a particular time window was selected.
Reproducibility does not require every analyst to obtain numerically identical results when data are continuously updated. In that situation, the report should identify the data snapshot, query time, transformation rules and acceptable variation.
Reproducible data analysis workflow from question to report and review
Figure: Reproducible data analysis workflow from question to report and review
Figure: A reproducible workflow links the decision question, data, code, validation and report, with feedback enabling correction and revision.
7. Ethics, Governance and Responsible Communication
Data storytelling can mislead even when every number is technically correct. Ethical practice requires attention to framing, privacy, fairness and consequences.
Important safeguards include:
do not expose personally identifiable information unnecessarily;
report denominators and missingness when they affect interpretation;
avoid charts that truncate axes or use area and volume deceptively;
distinguish correlation from causation;
disclose conflicts of interest and sponsorship;
assess whether a subgroup is underrepresented or harmed by the decision;
preserve an audit trail for regulated or high-impact uses;
document model limitations, especially when predictions affect people.
For AI and machine-learning reports, include the target definition, training and evaluation periods, data leakage checks, performance by relevant subgroup and the operational consequences of false positives and false negatives. A single aggregate accuracy value can conceal serious disparities or poor performance on the cases that matter most.
Privacy and reproducibility may conflict. The solution is not to publish sensitive records; it may involve access-controlled repositories, de-identified or synthetic examples, aggregate outputs, secure execution environments and documented access procedures.
The following is an illustrative case based on a hypothetical outpatient clinic.
Background and problem
The clinic wants to reduce missed appointments. Management believes that reminder messages are ineffective, but the evidence has not been examined systematically. The analytics team is asked to prepare a report for the operations director.
Analysis
The team extracts appointment records for six months. The data dictionary defines a missed appointment as one for which the patient neither attends nor cancels within the clinic’s specified window. The team checks duplicate appointment identifiers, missing contact-method values and changes in clinic capacity.
The analysis compares missed-appointment rates by reminder status, clinic, appointment lead time and patient group. It reports counts as well as rates because the groups have different numbers of appointments. The team finds:
the overall missed-appointment rate is 8.6%;
appointments with no recorded reminder have a rate of 12.1%;
appointments with a reminder have a rate of 7.9%;
unreminded appointments are concentrated in one clinic whose scheduling system was intermittently disconnected;
patients with long lead times have higher missed-appointment rates in both reminder groups.
The difference between reminder groups is an observation. It is not automatically evidence that reminders caused the entire difference, because reminder assignment was not randomized and the groups differ by clinic and lead time.
Approach and solution
The report recommends three actions:
repair the reminder-system connection in the affected clinic;
conduct a controlled pilot in which eligible appointments are randomly assigned to standard or enhanced reminders;
monitor the missed-appointment rate, delivery success, cancellation behavior and patient complaints.
The report proposes a success criterion defined before the pilot: a reduction in missed appointments without an unacceptable increase in late cancellations or communication complaints. It also recommends subgroup review so that messages do not disadvantage patients with limited digital access.
Outcome
After eight weeks, the clinic should compare the pilot groups using the pre-specified outcome definition and report the estimate with an uncertainty interval. The result should be interpreted alongside implementation fidelity: a reminder cannot be considered ineffective if it was not delivered.
Learning points
The case demonstrates why denominators, data quality, confounding, causal language and operational measurement belong in the same story. It also shows that the best recommendation may be a measurement and intervention plan rather than an immediate organization-wide change.
9. Contemporary Practice and Best Practices
Modern reporting increasingly combines notebooks, automated pipelines, interactive dashboards and machine-generated summaries. Automation can improve consistency, but it does not remove the need for human review. Automatically generated narratives may misread a denominator, infer causality from correlation or omit a material limitation.
Useful current practices include:
automated data-quality tests for ranges, duplicates, missingness and schema changes;
continuous integration that runs tests when analytical code changes;
environment files or containers that record dependencies;
static report generation so figures and tables are rebuilt from code;
metadata catalogues and lineage records;
peer review of definitions, code and narrative claims;
model cards or fact sheets for deployed machine-learning systems;
accessibility checks for dashboards and exported documents.
A final review should ask:
Is the decision question explicit?
Can every important number be traced to a source and transformation?
Are observation, interpretation and recommendation clearly separated?
Are denominators, units and time periods visible?
Is uncertainty described proportionately?
Could the visualization mislead through scale, color or omission?
Can another analyst reproduce the reported result?
Are privacy, fairness and governance risks addressed?
Chapter Summary
Data storytelling transforms analytical evidence into a coherent, decision-oriented narrative. A strong story begins with a question and connects data, method, evidence, interpretation, decision and action. It distinguishes observations from interpretations and recommendations, uses informative titles and restrained annotations, and adapts its level of detail to managerial, operational, technical or external audiences.
Executive summaries should emphasize the principal finding, practical significance, limitations and recommended next step. Uncertainty should be quantified where possible through rates, differences, confidence intervals or clearly defined model metrics. A confidence interval communicates the uncertainty of an estimation procedure and does not justify claims of certainty or causation by itself.
Reproducibility depends on more than sharing a chart. It requires documented data sources, definitions, transformations, code, software environments, validation checks, version history and limitations. Notebooks are useful but must be run in a controlled order and supported by testing and documentation. Ethical reporting protects privacy, avoids deceptive framing, considers subgroup impacts and maintains an audit trail. In professional practice, a trustworthy report is one that is understandable, appropriately cautious, actionable and independently checkable.
Key Terms
Annotation: A label or note added to a visualization to explain a relevant feature.
Audience adaptation: Adjusting emphasis, language and technical detail for a particular readership.
Confidence interval: An interval produced by a specified statistical procedure to express estimation uncertainty.
Data dictionary: Documentation describing fields, meanings, units, values and missing-data conventions.
Data lineage: A record of where data came from and how it changed through an analytical workflow.
Data story: A structured combination of evidence, explanation and context intended to support understanding or action.
Denominator: The reference population or exposure used to calculate a rate or proportion.
Executive summary: A concise, decision-oriented account of a report’s main findings, implications and recommendations.
Interpretation: An explanation of what an observed result may mean.
Observation: A description directly supported by measured or calculated data.
Recommendation: A proposed action based on evidence, objectives, constraints and assumptions.
Reproducibility: The ability to obtain the same or substantively equivalent result using documented data, code and conditions.
Repository: An organized location in which code, documentation and related project files are stored and versioned.
Sensitivity analysis: Examination of how results change when assumptions, definitions or inputs vary.
Statistical uncertainty: Variation in an estimate arising from sampling, measurement or modeling conditions.
Version control: A system for recording and managing changes to files over time.
Workflow: The ordered sequence of activities that converts inputs into analytical outputs.
Visual hierarchy: The arrangement of size, position, contrast and labeling that guides attention in a report or chart.
Review Questions
Short Answer Questions
Distinguish an observation, an interpretation and a recommendation, giving one example of each.
Why should a rate be reported with its denominator and time basis?
State two practices that improve the reliability of computational notebooks.
What information should an executive summary normally contain?
Why is a confidence interval not the same as a probability statement about a fixed parameter?
Long Answer Questions
Explain how the narrative arc of context, finding, evidence, meaning and action can be applied to an operational analytics report.
Discuss how a report should be adapted for executive, operational and technical audiences without changing the underlying truth.
Describe the components of a reproducible analytical workflow, including data, code, environment and documentation.
Explain how visual titles, annotations, scales and color choices can improve or undermine data communication.
Discuss the ethical and governance responsibilities involved in reporting results from an AI or machine-learning system.
Analytical / Application Questions
A service rate rises from 82% to 88%, but the number of completed cases falls substantially. Design a report section that identifies the additional denominators, checks and uncertainty information needed before recommending action.
A dashboard shows that customers receiving a promotional message have higher purchase rates than customers who did not receive it. Explain at least three reasons why this does not establish causation and propose a suitable evaluation design.
Design a reproducible project plan for the hospital appointment case. Specify the data snapshot, data dictionary, validation tests, version-control structure, outcome definition and reporting procedure.
Multiple Choice Questions with Answers
Question 1
Which statement is an observation rather than an interpretation or recommendation?
A. The increase may have resulted from higher evening demand.
B. The measured response time rose from 18 to 24 minutes.
C. The organization should add an evening support agent.
D. The staffing change will solve the problem.
Correct Answer: B. The measured response time rose from 18 to 24 minutes.
Question 2
Why must a rate normally be reported with its denominator?
A. To make the chart use more colors
B. To identify the software used for calculation
C. To provide the population or exposure to which the rate refers
D. To guarantee that the rate is causal
Correct Answer: C. To provide the population or exposure to which the rate refers
Question 3
In the proportion estimate p̂ = x / n, what does n represent?
A. The number of cases with the characteristic
B. The total number of eligible cases
C. The standard deviation
D. The confidence level
Correct Answer: B. The total number of eligible cases
Question 4
Which practice best improves notebook reproducibility?
A. Executing cells in an arbitrary order
B. Keeping all exploratory dead ends in the final report
C. Restarting the kernel and running all cells from top to bottom
D. Removing data-loading code after the output is produced
Correct Answer: C. Restarting the kernel and running all cells from top to bottom
Question 5
Which item is most appropriate for an executive summary?
A. Every intermediate exploratory query
B. The principal finding, practical significance, limitations and recommendation
C. Only the names of software packages
D. A complete unannotated data table
Correct Answer: B. The principal finding, practical significance, limitations and recommendation
Question 6
A 95% confidence interval is best described as what?
A. A guarantee that the parameter has a 95% probability of being in this calculated interval
B. A range produced by a method that captures the true parameter in about 95% of repeated samples under valid assumptions
C. The range containing exactly 95% of all observations
D. Proof that the result is practically important
Correct Answer: B. A range produced by a method that captures the true parameter in about 95% of repeated samples under valid assumptions
Question 7
Which statement about a difference between reminder and non-reminder groups is most responsible?
A. The difference proves that reminders caused the entire effect.
B. The difference is useless because observational data can never be analyzed.
C. The difference is an observation, but confounding may affect its interpretation.
D. The difference automatically applies to every clinic.
Correct Answer: C. The difference is an observation, but confounding may affect its interpretation.
Question 8
What is the primary purpose of version control in an analytical project?
A. To increase the number of dashboard colors
B. To record and manage changes to code and documentation
C. To eliminate the need for data dictionaries
D. To make private data public
Correct Answer: B. To record and manage changes to code and documentation
Question 9
Which recommendation is most proportionate when descriptive data suggest, but do not establish, a cause?
A. Immediately deploy the intervention everywhere
B. Delete results that conflict with expectations
C. Conduct a controlled pilot and define success measures
D. Claim that the cause has been proven
Correct Answer: C. Conduct a controlled pilot and define success measures
Question 10
Which statement is an important ethical practice in AI reporting?
A. Report only aggregate accuracy and omit subgroup results
B. Hide limitations to prevent concern among decision-makers
C. Document performance, limitations and relevant subgroup impacts
D. Publish sensitive individual records to maximize reproducibility
Correct Answer: C. Document performance, limitations and relevant subgroup impacts