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?
Category: R
How To Make Violin Plots with ggplot2 in 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?
How To Highlight a Bar in Barplot in R?
Sometimes while making a barplot, you might like to highlight a single bar in different color when compared to other bars. In this post, we will learn how to highlight a bar in barplot using ggplot2 in R. A Barplot displays counts or some quantitative variable corresponding to multiple categories as bars. Let us load… Continue reading How To Highlight a Bar in Barplot in R?
How To Make Barplots with Error bars in ggplot2?
In this post, we will learn how to make a barplot with error bar using ggplot2 in R. Barplot alone is useful to display counts for multiple categories. However, often there may be uncertainty around the count values and we could represent as error bar on the barplot. Let us load tidyverse packages. We will… Continue reading How To Make Barplots with Error bars in ggplot2?
Visualizing Intersection Sets with UpSet Plot: A Replacement for Venn Diagrams
Venn Diagrams are the bread and butter of visualizing intersections of multiple sets. One of the reasons for Venn Diagram is popular because it is simple and intuitive. However, when you have more than three sets, Venn Diagram gets really complicated to make sense. UpSet plots are a great replacement for Venn Diagram for visualize… Continue reading Visualizing Intersection Sets with UpSet Plot: A Replacement for Venn Diagrams