How to Make Horizontal Boxplot with ggplot2 version 3.3.0?

ggplot2 v3.3.0: Horizontal Boxplots

Making a boxplot or barplot horizontally can be useful in a variety of scenarios. In ggplot2, till now the only way to make a plot horizontal is to use flip the axis using coord_flip(). With ggplot2 version 3.3.0, we can easily flip axis and make horizontal boxplot or horizontal barplot without using coord_flip(). Let us… Continue reading How to Make Horizontal Boxplot with ggplot2 version 3.3.0?

Multiple Line Plots or Time Series Plots with ggplot2 in R

Multiple Line Plots with ggplot2

Line plots or time series plots are helpful to understand the trend over time. In this post we will learn how to make multiple line plots (or time-series plots in the sample plot) in R using ggplot2. Let us load tidyverse the suite of R packages including ggplot2 to make the line plots. We will… Continue reading Multiple Line Plots or Time Series Plots with ggplot2 in R

How To Make Ridgeline Plot with ggridges in R?

How to Order Ridgeline Plot?

Ridgeline plot is one of the data visualization techniques that is suitable for visualizing multiple distributions or changes in distributions over time or space. Claus Wilke made created this plot and a package in R to make this easily. He defines it as a partially overlapping line plots that create the impression of a mountain… Continue reading How To Make Ridgeline Plot with ggridges in R?

How To Make Violin Plots with ggplot2 in R?

Horizontal Violin Plot Ordered: ggplot2 R

Violin plots are a way visualize numerical variables from one or more groups. Violin plots are similar to box plots. A boxplot shows a numerical distribution using five summary level statistics. Violin plots have the density information of the numerical variables in addition to the five summary statistics. In this post we will learn how… Continue reading How To Make Violin Plots with ggplot2 in R?

Exit mobile version