Grouped boxplots help visualize three variables in comparison to two variables with a simple boxplot. In this post we will see how to make a grouped boxplot with jittered data points with position_jitterdodge() using ggplot2 in R. We can make grouped boxplot without datapoints … [Read more...] about How to Make Grouped Boxplot with Jittered Data Points in ggplot2
How To Change Edge Color on Seaborn Scatter Plot?
Seaborn's scatterplot function allows us to make compelling scatter plots easily. In this post we will learn how to customize edge color of a scatter plot made with Seaborn. By default, Seaborn's scatter plot function colors the markers edge color to be white. In this post, … [Read more...] about How To Change Edge Color on Seaborn Scatter Plot?
How To Draw a Rectangle on a Plot in Matplotlib?
When you make data visualization one might want to highlight a specific region of the plot by adding some annotation. In this post, we will learn how to add rectangle on top of a plot made with matplotlib in Python. We will first add a simple rectangle with specific color and … [Read more...] about How To Draw a Rectangle on a Plot in Matplotlib?
How To Join Multiple ggplot2 Plots with cowplot?
Combining or joining multiple plots made with ggplot2 into a single plot is often very useful in telling a story with data. Now we have multiple options in R, including patchwork, gridExtra, and cowplot to join multiple plots made by ggplot2. In this post, we will see how to use … [Read more...] about How To Join Multiple ggplot2 Plots with cowplot?
How To Make Dumbbell Plot in R with ggplot2?
Dumbbell plots or connected dot plots are a great way to visualize change in something over time for multiple groups. Dumbbell plots are a great alternative to grouped barchart as dumbbell plot uses much less ink on the paper and is much simpler to understand. We can use … [Read more...] about How To Make Dumbbell Plot in R with ggplot2?