In this post, we will learn how to make horizontal stripplot with jitter using Altair in Python. In an earlier post we learned step-by-step instructions to make stripplot with jitter. We will use gapminder dataset to make the stripplot with Altair. Let us load the data from web using Pandas’s read_csv() function. We will primarily… Continue reading Horizontal Stripplot with Jitter using Altair in Python
Category: Python
Overlapping Histograms with Matplotlib in Python
In this post we will see example of plotting multiple histograms on the same plot using Matplotlib in Python. Let us first load Matplotlib and numpy to make overlapping histograms with Matplotlib in Python. We will simulate data using NumPy’s random module. First we create two numerical variables from gaussian normal distribution with specified mean… Continue reading Overlapping Histograms with Matplotlib in Python
How To Make Histograms with Matplotlib in Python?
In this post, we will see an example of how to make histogram with Matplotlib library in Python. Matplotlib’s pyplot module is designed to make a number of types of plots with Matplotlib. We will use pyplot module’s function hist() to make histograms with matplotlib. Let us load Matplotlib.pyplot and Numpy library. We will generate… Continue reading How To Make Histograms with Matplotlib in Python?
How To Make Stripplot with Jitter in Altair Python?
In this post we will learn how to make strip plots using Altair in Python. A simple strip plot is plotting the data as points and may not that useful. One way to make the simple striplplot more meaningful is to add random jitter. Making a stipplot with jitter in Altair is slightly tricky. Luckily,… Continue reading How To Make Stripplot with Jitter in Altair Python?
How To Make Grouped Boxplot with Seaborn Catplot?
When you have a multiple groups and subgroups within each groups with associated numerical values, we can use Grouped boxplots to visualize. With Seaborn we can make grouped boxplots using boxplot() function and much newer function Catplot(). Seaborn Catplot is a function that unifies multiple data visualization techniques, including boxplots, when you have a numerical… Continue reading How To Make Grouped Boxplot with Seaborn Catplot?