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 examples of adding colors to Boxplots using… Continue reading How to Color Boxplots with R Colorbrewer Color Palettes?
Author: datavizpyr
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 from data in tidy form first and then from… Continue reading How to Make Overlapping Histograms in Python with Altair?
How To Order Bars in Barplot using Seaborn in Python?
Barplots are great to visualize a quantitative value corresponding to categorical variables. Often it is more meaningful to make barplot sorted by the quantitative value corresponding to the bars. In this post, we will see examples of making barplot using Seaborn and sorting the bars of barplot. Let us load the packages needed to make… Continue reading How To Order Bars in Barplot using Seaborn in Python?
How To Make Stripplot using Seaborn Catplot?
Stripplots are like scatter plots but one of the variables is a categorical variable. Stripplots are a great addition to boxplots as it shows complete data on the plot. Stripplots are more useful when can add random noise called “jitter” to avoid overlapping of data points with same values. In this post, we will learn… Continue reading How To Make Stripplot using Seaborn Catplot?
How To Highlight a Bar in Bar Chart in Altair?
Bar charts are a simple visualization that plots a quantitative variable corresponding to categorical variable as bars. Sometimes we might want to highlight a specific bar in barplot with different color compared to the rest. In this post, we will see examples of * How to Make a simple barplot or barchart with Altair? *… Continue reading How To Highlight a Bar in Bar Chart in Altair?