Data Visualization

  • Histograms in ggplot2

    Histograms are a great way to display the frequency of categorical variables and can aid the the understanding of the distribution of a variable to make visual comparisons across groups. In this guide, I focus on the use of the ggplot2 package to make different types of histograms.

  • Boxplots in ggplot2

    In a recent paper published in ACER, I used R and the ggplot2 package to create the main figures. In this post, I will walk through how I used ggplot2 and a couple of extra packages to create the box plots for this publication.

  • Scatterplots in ggplot2

    Scatterplots are a great tool to visualize data. They can be used to understand the relationship between variables that may not otherwise be observed by just looking at the values in a spreadsheet.