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 … [Read more...] about How To Make Violin Plots with ggplot2 in R?
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 … [Read more...] about 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 … [Read more...] about 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 … [Read more...] about Visualizing Intersection Sets with UpSet Plot: A Replacement for Venn Diagrams
How to Add Dollar Symbol for Axis Labels with ggplot2?
In this tutorial, we will learn how to format x or y-axis so that we have dollar symbol in a plot made with ggplot2 in R. Let us create a dataframe with salary education information for developers using the StackOverflow survey results. We first create two lists; one for … [Read more...] about How to Add Dollar Symbol for Axis Labels with ggplot2?