Stats (Sep 2024)

The Integrated Violin-Box-Scatter (VBS) Plot to Visualize the Distribution of a Continuous Variable

  • David W. Gerbing

DOI
https://doi.org/10.3390/stats7030058
Journal volume & issue
Vol. 7, no. 3
pp. 955 – 966

Abstract

Read online

The histogram remains a widely used tool for visualization of the distribution of a continuous variable, despite the disruption of binning the underlying continuity into somewhat arbitrarily sized discrete intervals imposed by the simplicity of its pre-computer origins. Alternatives include three visualizations, namely a smoothed density distribution such as a violin plot, a box plot, and the direct visualization of the individual data values as a one-dimensional scatter plot. To promote ease of use, the plotting function discussed in this work, Plot(x), automatically integrates these three visualizations of a continuous variable x into what is called a VBS plot here, tuning the resulting plot to the sample size and discreteness of the data. This integration complements the information derived from the histogram well and more easily generalizes to a multi-panel presentation at each level of a second categorical variable.

Keywords