Time Series plots are a great way to see a trend over a period of time. However, if the numerical variable that we are plotting in time series plot fluctuates day to day, it is often better to add a layer moving average to the time series plot. In this post, we will see … [Read more...] about How to Make a Time Series Plot with Rolling Average in Python?
Python
How To Make Scatter Plot with Regression Line using Seaborn?
Adding regression line to a scatterplot between two numerical variables is great way to see the linear trend. In this post, we will see two ways of making scatter plot with regression line using Seaborn in Python. And we will also see an example of customizing the scatter plot … [Read more...] about How To Make Scatter Plot with Regression Line using Seaborn?
How To Make Simple Facet Plots with Seaborn Catplot in Python?
Facet plots, where one subsets the data based on a categorical variable and makes a series of similar plots with same scale is a great way to visualize when you have a numerical variable and a corresponding categorical variable. It is also known as small multiples as we make a … [Read more...] about How To Make Simple Facet Plots with Seaborn Catplot in Python?
How To Make Density Plot in Python with Altair?
Density plots are like histogram, but displays density instead of counts. In this post, we will see a simple example of making a density plot in Python using Altair. Let us load Pandas and Altair to make density plot. We will use the tuition dataset from TidyTuesday … [Read more...] about How To Make Density Plot in Python with Altair?
How to Make Countplot or barplot with Seaborn Catplot?
Sometimes you might want to make countplot or barplots in Python, but the data may not in the right format. For example, you might want to make countplot/barplot of the number of things corresponding to multiple categorical variables. However, the data may in the form such that … [Read more...] about How to Make Countplot or barplot with Seaborn Catplot?




