In this tutorial, we will use Seaborn and learn how to make a scatterplot between two quantitative variables with marginal density plots on the sides. We will use Seaborn’s JointGrid() to define the features of the plot and then add scatter plot on top first and then add marginal density plots as marginal. This strategy… Continue reading How to Make Scatterplot with Marginal Density Plots with Seaborn
A mistake to Avoid while making boxplot with datapoints in ggplot2
Making a boxplot with data points on top of the boxplot is a great way to show distributions of multiple groups. A big advantage is that one can see the raw data and the summary stats of distributions using boxplot with data points. ggplot2 in R makes it easy to make boxplots and add data… Continue reading A mistake to Avoid while making boxplot with datapoints in ggplot2
How to Make Time-Series Plot with Rolling Mean in R?
In this post we will learn how to make a time-series plot with a rolling mean using R. Often time-series data fluctuate a lot in short-term and such fluctuations can make it difficult to see the overall pattern in the plot. A solution is to smooth-out the short term fluctuations by computing rolling mean or… Continue reading How to Make Time-Series Plot with Rolling Mean in R?
How To Make Scatterplot with marginal boxplots with Seaborn ?
In this post, we will learn how to make a scatterplot with marginal boxplots using Seaborn in Python. To make a scatterplot we will use some of Seaborn’s powerful but not very well known functionalities. More specifically, we will use Seaborn’s JointGrid() to set up the plot features and then add two layers of plots.… Continue reading How To Make Scatterplot with marginal boxplots with Seaborn ?
How to Make Boxplot with a Line Connecting Mean Values in R?
In this post, we will learn how to draw a line connecting the mean (or median) values in a boxplot in R using ggplot2. Connecting mean or median values in each group i.e. each box in boxplot can help easily see the pattern across different groups. The basic idea in making a boxplot with a… Continue reading How to Make Boxplot with a Line Connecting Mean Values in R?