Sometimes you might want to make countplot or barplots in Python, but the data may not in the right format. For example, you might want to make countplot/barplot of the number of things corresponding to multiple categorical variables. However, the data may in the form such that … [Read more...] about How to Make Countplot or barplot with Seaborn Catplot?
How to Make Horizontal Boxplot with ggplot2 version 3.3.0?
Making a boxplot or barplot horizontally can be useful in a variety of scenarios. In ggplot2, till now the only way to make a plot horizontal is to use flip the axis using coord_flip(). With ggplot2 version 3.3.0, we can easily flip axis and make horizontal boxplot or horizontal … [Read more...] about How to Make Horizontal Boxplot with ggplot2 version 3.3.0?
How To Highlight a Time Range in Time Series Plot in Python with Matplotlib?
Time Series Plots are line plots with x-axis being date time instead of regular quantitative or ordered categorical variable. Sometimes you might want to highlight a region on a time series plot. In this post, we will learn how to highlight a time interval with a rectangular … [Read more...] about How To Highlight a Time Range in Time Series Plot in Python with Matplotlib?
How to Color Boxplots with R Colorbrewer Color Palettes?
Adding right colors to the plots greatly help convey the main message of the plot. Adding colors manually can be a bit challenging. Color palettes available from RColorBrewer package make it easy add right set of colors to plots made with ggplo2. In this tutorial, we will see … [Read more...] about How to Color Boxplots with R Colorbrewer Color Palettes?
How to Make Overlapping Histograms in Python with Altair?
In this post, we will learn how to make multiple overlapping histograms in Python using Altair. Using Altair, we can make overlapping histograms or layers histograms from data that is in wide form and long tidy form. We will see an example of making overlapping histograms … [Read more...] about How to Make Overlapping Histograms in Python with Altair?