Show uncertainty honestly in data visualizations
8 steps · about 3 h 55 min · Intermediate
- Choose a visual language for uncertainty (guide, Fundamentals of Data Visualization, 40 min)
Intervals, distributions and hypothetical outcomes answer different uncertainty questions.
- Distinguish spread from estimate uncertainty (guide, seaborn documentation, 30 min)
Standard deviation and confidence intervals communicate different properties of the data.
- Draw explicit error bars (reference, Matplotlib documentation, 25 min)
Control asymmetric bounds and styling while keeping the underlying estimate visible.
- Build a continuous uncertainty band (guide, Matplotlib documentation, 25 min)
A filled band can show an interval around a time series without drawing hundreds of bars.
- Show the full observed distribution (guide, seaborn documentation, 40 min)
Histograms and density views prevent a mean and interval from hiding shape or multiple groups.
- Encode interval bands declaratively (reference, Vega-Altair documentation, 25 min)
A declarative specification keeps fields, aggregates and bounds auditable.
- Expose binning choices (guide, Observable Plot documentation, 25 min)
Distribution appearance changes with bin thresholds, so make that transformation deliberate.
- Compare uncertainty-friendly alternatives (guide, Fundamentals of Data Visualization, 25 min)
Select a final form by the data relationship and audience task, not by decoration.