Legends are useful to add additional variables to a data visualization. By default, when we make a plot with legend using ggplot2, it places the legend on outside the plot on the right side. In this post, we will learn how to change or adjust the legend position in ggplot2. We … [Read more...] about How To Adjust Legend Position in ggplot2?
How to Show Mean on Boxplot using Seaborn in Python?
Boxplots show five summary statistics, including median, derived from data to show distribution of numerical data corresponding categorical variables. Sometimes, you might want to highlight the mean values in addition to the five statistics of boxplot. In this post we will … [Read more...] about How to Show Mean on Boxplot using Seaborn in Python?
How To Show Mean Value in Boxplots with ggplot2?
Boxplots are a great way to visualize multiple distributions using summary statistics. Boxplot shows five summary statistics; the minimum, the maximum, the median, and the first and third quartiles of the data. Sometimes, you might want to add other statistical summary values on … [Read more...] about How To Show Mean Value in Boxplots with ggplot2?
How to Connect Data Points on Boxplot with Lines?
Boxplots with data points are great way to visualize the summary information between distributions and also look at the actual data points. Sometimes, when making boxplot with paired data points, it is also useful to connect the paired data points with lines. Adding lines to … [Read more...] about How to Connect Data Points on Boxplot with Lines?
How to Annotate Bars in Grouped Barplot in Python?
In this post we will learn examples of adding text, annotating bars in grouped barplot using matplotlib. We will first see how to make grouped barplots using Seaborn's barplot() function and then use Matplotlib to add annotations to the grouped bars. The way to add annotation … [Read more...] about How to Annotate Bars in Grouped Barplot in Python?