Stacked barcharts are a variant of barplots, when you have data from multiple groups. In this tutorial, we will see two examples of making stacked barplots using ggplt2 in R. First we will see how to make stacked barplot of two groups with one on top of the other. In the second … [Read more...] about How to Make Horizontal Stacked Barplots with ggplot2 in R?
Heatmap from Matrix using ggplot2 in R
Heatmaps are data visualization tool that displays a matrix of data as a matrix of colors. For example, matrix elements with low values will have lighter colors and the elelments with high values will have a darker color. In earlier post we saw examples of making heatmap … [Read more...] about Heatmap from Matrix using ggplot2 in R
Horizontal Boxplots with Points using Seaborn in Python
Horizontal boxplots are useful when you have lots of groups with longer names. If you make simple boxplots, the longer names would overlap on each other and make it impossible to read the group names. Horizontal boxplots solve that problem easily. In this post, we will see an … [Read more...] about Horizontal Boxplots with Points using Seaborn in Python
Sort Boxplot by Mean with Seaborn in Python
Sorting a boxplot by mean or median values of each group is more helpful, when you are making a boxplot with multiple groups. In this post we will see an example of starting with a boxplot that is unordered and we will use Pandas and Seaborn to sort the boxplot by mean (and … [Read more...] about Sort Boxplot by Mean with Seaborn in Python
How to Make Boxplots with Data Points using Seaborn in Python
Boxplot with data points on top of it is often better visualization technique than the boxplots alone. This is mainly because, boxplot with data points actually shows the data underlying the boxplots, while the boxplot alone just shows the summary statistics. Always remember, … [Read more...] about How to Make Boxplots with Data Points using Seaborn in Python