A Mathematical Framework and Software Implementation for Uncertainty Visualisation
Pith reviewed 2026-06-25 22:09 UTC · model grok-4.3
The pith
Visualizations of random variables can obey the continuous mapping theorem by redefining their component mappings.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The central claim is that visualizations should be viewed as continuous functions. For random variable inputs this requires obedience to the continuous mapping theorem. By decomposing the visual function into components, locating the ill-defined parts for random variables, and redefining them appropriately, the visualizations retain both the flexibility demanded by exploratory data analysis and the convergence guarantees of the continuous mapping theorem. The framework is realized in software that allows any ggplot2 plotting function to accept random variable data while preserving the same convergence properties as the underlying data.
What carries the argument
Decomposition of the visualization mapping into components that are redefined to satisfy the continuous mapping theorem for random variable inputs.
If this is right
- Visualizations of random variables will have the same convergence properties as the visualizations of the limiting distributions of those variables.
- Users can replace the data argument of any supported plotting function with a random variable and retain the statistical guarantees.
- The approach supplies a complete integration of uncertainty into the grammar of graphics.
- The redefinitions maintain the exploratory utility of the original visualizations.
Where Pith is reading between the lines
- The same component-redefinition strategy could be applied to visualization systems other than ggplot2.
- The framework implies that any continuous mapping used in data analysis can be made to accept random variable inputs if its components are suitably redefined.
- Empirical checks on real data sets could identify which plot types require the most extensive redefinitions.
Load-bearing premise
The components of a visualization mapping can be redefined while preserving both the flexibility required for exploratory data analysis and the statistical sensibility required by the continuous mapping theorem.
What would settle it
A concrete counterexample in which redefining one or more visualization components for random variable inputs either removes needed exploratory flexibility or causes the output to violate the convergence property of the continuous mapping theorem.
Figures
read the original abstract
Random variables are the bread and butter of statistics, and visualisations are one of the most versatile tools in the field, so it is a wonder why we do not have a methodology for visualising random variables. This gap is particularly evident for exploratory data analysis (EDA). We address this gap by designing a mathematical framework for visualisation, which argues that we should consider visualisations to be continuous functions. In the case of random variable inputs, this means the visualisations should obey the continuous mapping theorem (CMT). By breaking the visual function down into its components, we are able to identify which parts of the mapping are ill-defined for random variable inputs and redefine them in a way that guarantees both the flexibility required for EDA and the statistical sensibility of CMT. This formalisation represents a complete integration of uncertainty into the grammar of graphics, which we show by implementing the theory in the R package, "ggdibbler". The ggdibbler software is a "ggplot2" extension that allows users to replace the data of any plotting function with a random variable, with the guarantee that the visualisation will have the same convergence properties as its underlying data.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper proposes a mathematical framework for visualizing random variables by treating visualizations as continuous functions that must obey the continuous mapping theorem (CMT) for random variable inputs. It breaks the visual mapping into components, identifies ill-defined parts, redefines them to preserve both EDA flexibility and CMT compliance, and implements the approach in the R package ggdibbler as a ggplot2 extension that allows random variable data while guaranteeing the same convergence properties as the underlying data.
Significance. If the redefinitions are shown to satisfy the CMT without sacrificing EDA flexibility, the work would provide a principled integration of uncertainty into the grammar of graphics, with visualizations inheriting the statistical convergence properties of their inputs. The software implementation in ggdibbler is a concrete strength, as it offers a practical, extensible tool for uncertainty visualization in exploratory analysis.
major comments (1)
- [Abstract] Abstract: The central claim that component redefinitions simultaneously guarantee CMT obedience and EDA flexibility is not supported by any derivations, explicit component breakdowns, redefinitions, or verification steps in the manuscript. This is load-bearing for the framework, as the abstract states the approach and guarantee but supplies no equations, proofs, or examples confirming that the redefined mappings are continuous in the required sense or retain the intended properties.
Simulated Author's Rebuttal
We thank the referee for the review and the identification of this important point regarding support for the central claim.
read point-by-point responses
-
Referee: [Abstract] Abstract: The central claim that component redefinitions simultaneously guarantee CMT obedience and EDA flexibility is not supported by any derivations, explicit component breakdowns, redefinitions, or verification steps in the manuscript. This is load-bearing for the framework, as the abstract states the approach and guarantee but supplies no equations, proofs, or examples confirming that the redefined mappings are continuous in the required sense or retain the intended properties.
Authors: We agree that the abstract presents the high-level claim without including supporting derivations or explicit breakdowns, and that this is a load-bearing aspect of the framework. The manuscript body describes the component identification and redefinitions at a conceptual level but does not supply the requested equations, continuity arguments, or verification steps. We will therefore revise the manuscript to add these elements: a table of component breakdowns, explicit redefinitions with continuity arguments (moved from any appendix into the main text), and a short worked example confirming both CMT compliance and retained EDA flexibility. Cross-references will be added from the abstract. revision: yes
Circularity Check
No significant circularity identified
full rationale
The paper proposes redefining components of visualization mappings for random variable inputs so that they obey the continuous mapping theorem while retaining EDA flexibility, then implements this in the ggdibbler package. The abstract and available context supply no equations, fitted parameters, self-citations, or derivations that reduce any claimed prediction or result to an input by construction. The central claim is a definitional framework whose statistical properties are asserted to follow from the redefinitions and CMT, without evidence of self-referential reduction or load-bearing circular steps.
Axiom & Free-Parameter Ledger
axioms (1)
- standard math Continuous mapping theorem applies to the redefined visualization functions
Reference graph
Works this paper leans on
-
[1]
Past, Present, and Future of Statistical Science , pages =
Meng, Xiao Li , doi =. Past, Present, and Future of Statistical Science , pages =
-
[2]
Walker, W. E. and Harremoes, P. and Rotmans, J and. Integrated Assessment , keywords =
-
[3]
Researchers misunderstand confidence intervals and standard error bars , volume =
Bella, Sarah and Fidler, Fiona and Williams, Jennifer and Cumming, Geoff , doi =. Researchers misunderstand confidence intervals and standard error bars , volume =. Psychological Methods , number =
-
[4]
F. J. Anscombe , title =. The American Statistician , volume =. 1973 , publisher =
1973
-
[5]
2018 , note =
datasauRus: Datasets from the Datasaurus Dozen , author =. 2018 , note =
2018
-
[6]
and Mackinlay, J
Olston, C. and Mackinlay, J. D. , doi =. Proceedings - IEEE Symposium on Information Visualization, INFO VIS , keywords =
-
[7]
and Moreno-Betancur, Margarita , eprint =
Carlin, John B. and Moreno-Betancur, Margarita , eprint =
-
[8]
Meng, Xiao Li , doi =
-
[9]
Amar, Robert and Eagan, James and Stasko, John , doi =
-
[10]
and Finelli, Luca and Chang, Remco and Cashman, Dylan , doi =
Suh, Ashley and Appleby, Gabriel and Anderson, Erik W. and Finelli, Luca and Chang, Remco and Cashman, Dylan , doi =. IEEE Transactions on Visualization and Computer Graphics , number =. 2205.05749 , issn =
-
[11]
and Schiewe, Jochen , doi =
Kinkeldey, Christoph and MacEachren, Alan M. and Schiewe, Jochen , doi =. Cartographic Journal , number =
-
[12]
and Budescu, David V
Wallsten, Thomas S. and Budescu, David V. and Erev, Ido and Diederich, Adele , doi =. Journal of Behavioral Decision Making , number =
-
[13]
Bradley, Valerie C. and Kuriwaki, Shiro and Isakov, Michael and Sejdinovic, Dino and Meng, Xiao Li and Flaxman, Seth , doi =. Nature , number =. 2106.05818 , issn =
-
[14]
IEEE Transactions on Visualization and Computer Graphics , keywords =
Munzner, Tamara , doi =. IEEE Transactions on Visualization and Computer Graphics , keywords =
-
[15]
Fischhoff, Baruch and Davis, Alex L. , doi =. Proceedings of the National Academy of Sciences of the United States of America , pages =
-
[16]
Refsgaard, Jens Christian and van der Sluijs, Jeroen P. and H. Environmental Modelling and Software , keywords =. doi:10.1016/j.envsoft.2007.02.004 , issn =
-
[17]
ACM International Conference Proceeding Series , pages =
Hullman, Jessica , doi =. ACM International Conference Proceeding Series , pages =
-
[18]
Annual Review of Statistics and Its Application , keywords =
Spiegelhalter, David , doi =. Annual Review of Statistics and Its Application , keywords =
-
[19]
Granger , doi =
Ibrekk, Harald and Morgan, M. Granger , doi =. Risk Analysis , keywords =
-
[20]
Sanyal, Jibonananda and Zhang, Song and Bhattacharya, Gargi and Amburn, Phil and Moorhead, Robert J. , doi =. IEEE Transactions on Visualization and Computer Graphics , keywords =
-
[21]
Gustafson, Abel and Rice, Ronald E. , doi =. Science Communication , keywords =
-
[22]
Visualization and Data Analysis 2005 , keywords =
Thomson, Judi and Hetzler, Elizabeth and MacEachren, Alan and Gahegan, Mark and Pavel, Misha , doi =. Visualization and Data Analysis 2005 , keywords =
2005
-
[23]
IEEE Pacific Visualization Symposium , keywords =
Grewal, Yashvir and Goodwin, Sarah and Dwyer, Tim , doi =. IEEE Pacific Visualization Symposium , keywords =
-
[24]
Potter, Kristin and Rosen, Paul and Johnson, Chris R. , doi =. IFIP Advances in Information and Communication Technology , keywords =
-
[25]
and Wittenbrink, Craig M
Pang, Alex T. and Wittenbrink, Craig M. and Lodha, Suresh K. , doi =. Visual Computer , keywords =
-
[26]
doi:10.1007/978-1-84800-269-2_2 , issn =
Pham, Binh and Streit, Alex and Brown, Ross , booktitle =. doi:10.1007/978-1-84800-269-2_2 , issn =
-
[27]
Conference on Human Factors in Computing Systems - Proceedings , keywords =
Boukhelifa, Nadia and Perrin, Marc Emmanuel and Huron, Samuel and Eagan, James , doi =. Conference on Human Factors in Computing Systems - Proceedings , keywords =
-
[28]
IEEE Transactions on Visualization and Computer Graphics , keywords =
Hullman, Jessica , doi =. IEEE Transactions on Visualization and Computer Graphics , keywords =. 1908.01697 , issn =
arXiv 1908
-
[29]
Manski, Charles F. , doi =. Economics and Philosophy , number =
-
[30]
International Journal of Philosophical Studies , keywords =
O'Neill, Onora , doi =. International Journal of Philosophical Studies , keywords =
-
[31]
and Chiou, Erin K
Zhao, Jieqiong and Wang, Yixuan and Mancenido, Michelle V. and Chiou, Erin K. and Maciejewski, Ross , doi =. IEEE Transactions on Visualization and Computer Graphics , keywords =
-
[32]
Griethe, Henning and Schumann, Heidrun , booktitle=
-
[33]
2005 , isbn =
Wilkinson, Leland , title =. 2005 , isbn =
2005
-
[34]
and McGill, Robert , doi =
Cleveland, William S. and McGill, Robert , doi =. Journal of the American Statistical Association , number =
-
[35]
IEEE Transactions on Visualization and Computer Graphics , number =
Wickham, Hadley and Hofmann, Heike , doi =. IEEE Transactions on Visualization and Computer Graphics , number =
-
[36]
Current directions in psychological science , volume=
Inattentional blindness: Looking without seeing , author=. Current directions in psychological science , volume=. 2003 , publisher=
2003
-
[37]
perception , volume=
Gorillas in our midst: Sustained inattentional blindness for dynamic events , author=. perception , volume=. 1999 , publisher=
1999
-
[38]
Environmetrics , month =
Wickham, Hadley and Hofmann, Heike and Wickham, Charlotte and Cook, Dianne , doi =. Environmetrics , month =
-
[39]
Value-suppressing uncertainty palettes , volume =
Correll, Michael and Moritz, Dominik and Heer, Jeffrey , doi =. Value-suppressing uncertainty palettes , volume =. Conference on Human Factors in Computing Systems - Proceedings , keywords =
-
[40]
and Wickham, Hadley , doi =
Buja, Andreas and Cook, Dianne and Hofmann, Heike and Lawrence, Michael and Lee, Eun Kyung and Swayne, Deborah F. and Wickham, Hadley , doi =. Statistical inference for exploratory data analysis and model diagnostics , volume =. Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences , month =
-
[41]
IEEE Transactions on Visualization and Computer Graphics , pages =
Wickham, Hadley and Cook, Dianne and Hofmann, Heike and Buja, Andreas , doi =. IEEE Transactions on Visualization and Computer Graphics , pages =
-
[42]
Using Visual Statistical Inference to Better Understand Random Class Separations in High Dimension, Low Sample Size Data , author =. 2015 , month = jun, journal =. doi:10.1007/s00180-014-0534-x , urldate =
-
[43]
Slingsby, Aidan and Reeve, Richard and Harris, Claire , keywords =
-
[44]
and Munson, Sean A
Kay, Matthew and Kola, Tara and Hullman, Jessica R. and Munson, Sean A. , doi =. Conference on Human Factors in Computing Systems - Proceedings , pages =
-
[45]
Conference on Human Factors in Computing Systems - Proceedings , keywords =
Kale, Alex and Kay, Matthew and Hullman, Jessica , doi =. Conference on Human Factors in Computing Systems - Proceedings , keywords =. arXiv , arxivId =:1901.02957 , isbn =
Pith/arXiv arXiv 1901
-
[46]
Vranas, Peter B.M. , doi =. Cognition , mendeley-groups =
-
[47]
IEEE Transactions on Visualization and Computer Graphics , keywords =
Hullman, Jessica and Kay, Matthew and Kim, Yea Seul and Shrestha, Samana , doi =. IEEE Transactions on Visualization and Computer Graphics , keywords =
-
[48]
and Goldstein, Daniel G
Hofman, Jake M. and Goldstein, Daniel G. and Hullman, Jessica , doi =. Conference on Human Factors in Computing Systems - Proceedings , keywords =
-
[49]
IEEE Transactions on Visualization and Computer Graphics , keywords =
Boukhelifa, Nadia and Bezerianos, Anastasia and Isenberg, Tobias and Fekete, Jean Daniel , doi =. IEEE Transactions on Visualization and Computer Graphics , keywords =
-
[50]
and Kniss, J
Potter, K. and Kniss, J. and Riesenfeld, R. and Johnson, C. R. , doi =. Visualizing summary statistics and uncertainty , volume =. Computer Graphics Forum , keywords =
-
[51]
IEEE Transactions on Visualization and Computer Graphics , month =
Gschwandtner, Theresia and B. IEEE Transactions on Visualization and Computer Graphics , month =. doi:10.1109/TVCG.2015.2467752 , issn =
-
[52]
Hypothetical outcome plots outperform error bars and violin plots for inferences about reliability of variable ordering , volume =
Hullman, Jessica and Resnick, Paul and Adar, Eytan , doi =. Hypothetical outcome plots outperform error bars and violin plots for inferences about reliability of variable ordering , volume =. PLoS ONE , month =
-
[53]
IEEE Transactions on Visualization and Computer Graphics , number =
Kale, Alex and Kay, Matthew and Hullman, Jessica , doi =. IEEE Transactions on Visualization and Computer Graphics , number =. 2007.14516 , issn =
arXiv 2007
-
[54]
and Roth, Robert E
MacEachren, Alan M. and Roth, Robert E. and O'Brien, James and Li, Bonan and Swingley, Derek and Gahegan, Mark , doi =. IEEE Transactions on Visualization and Computer Graphics , keywords =
-
[55]
2015 , note=
Tomasetti, Nathaniel and Cook, Dianne , title =. 2015 , note=
2015
-
[56]
Frontiers in Psychology , month =
Padilla, Lace and Powell, Maia and Kay, Matthew and Hullman, Jessica , doi =. Frontiers in Psychology , month =
-
[57]
Vanderplas, Susan and Hofmann, Heike , doi =
-
[58]
doi:10.1080/10618600.2016.1209116 , pages =
Clusters Beat Trend!? Testing Feature Hierarchy in Statistical Graphics , volume =. doi:10.1080/10618600.2016.1209116 , pages =
-
[59]
2006 , publisher=
Graph design for the eye and mind , author=. 2006 , publisher=
2006
-
[60]
Hofmann, Heike and Follett, Lendie and Majumder, Mahbubul and Cook, Dianne , year =. Graphical. IEEE Transactions on Visualization and Computer Graphics , volume =. doi:10.1109/TVCG.2012.230 , urldate =
-
[61]
Li, Weihao and Cook, Dianne and Tanaka, Emi and VanderPlas, Susan , year =. A. Journal of Computational and Graphical Statistics , pages =. doi:10.1080/10618600.2024.2344612 , urldate =
-
[62]
and Scholl, Brian J
Newman, George E. and Scholl, Brian J. , doi =. Psychonomic Bulletin and Review , keywords =
-
[63]
Cognitive Research: Principles and Implications , keywords =
Padilla, Lace and Ruginski, Ian and Creem-Regehr, Sarah , doi =. Cognitive Research: Principles and Implications , keywords =
-
[64]
IEEE Transactions on Visualization and Computer Graphics , keywords =
Correll, Michael and Gleicher, Michael , doi =. IEEE Transactions on Visualization and Computer Graphics , keywords =
-
[65]
International Journal of Geographical Information Science , keywords =
Cheong, Lisa and Bleisch, Susanne and Kealy, Allison and Tolhurst, Kevin and Wilkening, Tom and Duckham, Matt , doi =. International Journal of Geographical Information Science , keywords =
-
[66]
2023 IEEE Visualization and Visual Analytics (VIS) , pages=
Taken By Surprise? Evaluating how Bayesian Surprise & Suppression Influences Peoples’ Takeaways in Map Visualizations , author=. 2023 IEEE Visualization and Visual Analytics (VIS) , pages=. 2023 , organization=
2023
-
[67]
and Wikle, Christopher K
Lucchesi, Lydia R. and Wikle, Christopher K. , doi =. Stat , number =
-
[68]
and Lawonn, Kai , eprint =
Sterzik, Anna and Meuschke, Monique and Cunningham, Douglas W. and Lawonn, Kai , eprint =
-
[69]
IEEE transactions on visualization and computer graphics , volume=
Hypothetical outcome plots help untrained observers judge trends in ambiguous data , author=. IEEE transactions on visualization and computer graphics , volume=. 2018 , publisher=
2018
-
[70]
Cartographica , number =
Blenkinsop, Steve and Fisher, Pete and Bastin, Lucy and Wood, Jo , doi =. Cartographica , number =
-
[71]
2023 , eprint=
The Rational Agent Benchmark for Data Visualization , author=. 2023 , eprint=
2023
-
[72]
and Budescu, David V
Benjamin, Daniel M. and Budescu, David V. , doi =. Frontiers in Psychology , keywords =
-
[73]
and Gunalp, Peri and Hegarty, Mary , doi =
Boone, Alexander P. and Gunalp, Peri and Hegarty, Mary , doi =. Journal of Experimental Psychology: Applied , keywords =
-
[74]
ACM International Conference Proceeding Series , keywords =
Daradkeh, Mohammad , doi =. ACM International Conference Proceeding Series , keywords =
-
[75]
and Krafft, Peter and Hullman, Jessica , doi =
Kim, Yea Seul and Walls, Logan A. and Krafft, Peter and Hullman, Jessica , doi =. Conference on Human Factors in Computing Systems - Proceedings , keywords =. arXiv , arxivId =:1901.02949 , isbn =
Pith/arXiv arXiv 1901
-
[76]
Physics-Uspekhi , number =
Dyson, Freeman J , doi =. Physics-Uspekhi , number =
-
[77]
2022 , publisher =
Padilla, Lace and Kay, Matthew and Hullman, Jessica , title =. 2022 , publisher =
2022
-
[78]
Designing for interactive exploratory data analysis requires theories of graphical inference , year =
Hullman, Jessica and Gelman, Andrew , doi =. Designing for interactive exploratory data analysis requires theories of graphical inference , year =. Harvard Data Science Review , pages =
-
[79]
IEEE Transactions on Visualization and Computer Graphics , number =
Newburger, Eric and Correll, Michael and Elmqvist, Niklas , doi =. IEEE Transactions on Visualization and Computer Graphics , number =. 2301.04717 , issn =
-
[80]
2022 , publisher=
An illusion of predictability in scientific results , author=. 2022 , publisher=
2022
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.