A graphical user interface for plotting common univariate distributions

CRAN status


The DistPlotter R package includes an interactive Shiny application, which is run locally on the user’s machine. It enables users to plot common univariate distributions and was designed with a particular focus on education. Users can plot distributions based on general shape (e.g., symmetric vs. skewed right) and distributions from common discrete and continuous families. They can also shade areas underneath the curve (e.g., areas corresponding to general probabilities, p-values, or confidence levels). Users can additionally plot their own quantitative data, as well as overlay a normal density curve and shade area(s) underneath.


The DistPlotter package can be installed from either CRAN or GitHub.

Installing from CRAN

To install from CRAN, run the following code in R:


Installing from GitHub

To install the package from GitHub, run the following code in R:

install.packages("remotes")  # installs the remotes package for accessing the install_github() function
remotes::install_github("shinyeducationapps/DistPlotter")  # installs the DistPlotter package


The DistPlotter application can be run using a single line of code in R:


Bug Reporting

If you happen to find any bugs, we kindly ask that you email us at casementc@gmail.com.


DistPlotter is distributed under the MIT license. For details, see the LICENSE.md file.