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
Author: datavizpyr
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 Ridgeline Plot with ggridges in R?
Ridgeline plot is one of the data visualization techniques that is suitable for visualizing multiple distributions or changes in distributions over time or space. Claus Wilke made created this plot and a package in R to make this easily. He defines it as a partially overlapping line plots that create the impression of a mountain… Continue reading How To Make Ridgeline Plot with ggridges in R?
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?