How To Make Simple Facet Plots with Seaborn Catplot in Python?

Simple Facet Plot with Seaborn Catplot

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 matrix-panel plots of same type.… Continue reading How To Make Simple Facet Plots with Seaborn Catplot in Python?

How To Make Facet Plot using facet_wrap() in ggplot2?

Faceting with ggplot2

When you have data for a variable corresponding to multiple groups, visualizing the data for each group can be useful. One of the techniques to use is to visualize data from multiple groups in a single plot. However, a better way visualize data from multiple groups is to use “facet” or small multiples. ggplot2 makes… Continue reading How To Make Facet Plot using facet_wrap() in ggplot2?

How To Adjust Title Position in ggplot2 ?

How to Align Title Position in ggplot2?

One of the annoying things while making a plot is fine tuning it the way you want. Sometimes ones of such pain points is placing the title on the plot. Till recently, ggplot2 placed title or subtitle such that it aligns with the plotting area. In this post we will learn how to use ggplot2… Continue reading How To Adjust Title Position in ggplot2 ?

How To Make Density Plot in Python with Altair?

Change Color in density plot 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 project. Within tuition dataset we will look at… Continue reading How To Make Density Plot in Python with Altair?

How To Make Boxplots with Text as Points in R using ggplot2?

Boxplot with jittered text labels as points in R

Boxplots with overlayed data points is a great way visualize multiple distributions. One of the biggest benefits of adding data points over the boxplot is that we can actually see the underlying data instead of just the summary stat level data visualization. Sometimes using text labels instead of data points can be helpful as it… Continue reading How To Make Boxplots with Text as Points in R using ggplot2?

Exit mobile version