Multi-panel plots or small multiples are a great way visualize the relationship between two variables with respect ot the values of other variables. Seaborn offers a few different ways to make a multi-panel plots, with FacetGrid is the class behind multi-panel plots in … [Read more...] about How to Customize Titles in Multi-Panel plots with Seaborn?
Pandas Bootstrap_plot(): Understand uncertainty
One of the key parts of data analysis is to use summary statistics to understand the trend in the data. Understanding the variability in such summary statistics can be extremely useful to put weight on such summary statistics. Bootstrapping, resampling data with replacement is an … [Read more...] about Pandas Bootstrap_plot(): Understand uncertainty
How to Make Grouped/Stacked Barplot in R?
When you have dataset with two categorical variables and one quantitative variable, a grouped barplot is a great way to see the relationship among the variable. In a simple barplot, we have categorical variable on x-axis and have bars showing the numerical value of the … [Read more...] about How to Make Grouped/Stacked Barplot in R?
Grouped Boxplot with Jittered Points with Seaborn Python
Grouped boxplots help us visualize the relationship between three variables, two categorical variables and one quantitative variable. When we make a boxplot, it is always a good idea to add the original data points on top of the boxplot, when possible. In this post, we will learn … [Read more...] about Grouped Boxplot with Jittered Points with Seaborn Python
How to Change X and Y Axis Values from Real to Integers in ggplot2
When you make a plot with ggplot2, it automatically chooses appropriate range for x and y-axis values and it can be either floats or integers. In this post, we will see how to change X/Y-axis values to integers. In ggplot2, we can use scale_x_continuous() and scale_y_continuous() … [Read more...] about How to Change X and Y Axis Values from Real to Integers in ggplot2