
When and how to show uncertainty in charts
Data visualisation specialist developing charts, standards, and training.
Background in statistics, operational research, data science consultancy, and academia.
Author of several R packages (mainly for visualisation).
Co-author of Royal Statistical Society’s Best Practices for Data Visualisation guidance.

Ask yourself: Does seeing the uncertainty change the conclusion?




You do not need to show uncertainty in charts if:
You have point estimates for:
And you want to show the range of uncertainty around those estimates.




Show how uncertainty in estimate(s) changes, rather than implying a single precise value throughout.
Might need to show changes in main trend line e.g. observed vs forecast.
Might only show uncertainty ranges for part of a time period e.g. forecasts.
Might show different metrics of uncertainty in estimate and forecast.








geom_rect()OR
geom_ribbon()Your choice!
geom_ribbon() in ggplot2 useful.



Some elements of charts can imply uncertainty. For example:
Be careful when using these elements if you’re not trying to communicate uncertainty.
Here are two charts. What is good and bad about each of them? How would you visualise this data?


ONS guidance on showing uncertainty in charts: service-manual.ons.gov.uk/data-visualisation/guidance/showing-uncertainty-in-charts
Visualizing Uncertainty About the Future - www.stat.berkeley.edu/~aldous/157/Papers/spiegelhalter_visualizing.pdf
ggdist: Visualizations of Distributions and Uncertainty in the Grammar of Graphics - doi.org/10.1109/TVCG.2023.3327195
RSS Data Visualisation Guide - royal-statistical-society.github.io/datavisguide
More data visualisation resources - nrennie.rbind.io/resources/data-viz