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?
How To Make US State and County Level Maps in R?
In this post we will learn how to make simple maps using ggplot2 in R. We will first see an example of making a state level US map and then we will see an example of county level statemap. Then finally we will see how to overlay data of interest on to the map. To… Continue reading How To Make US State and County Level Maps in R?
Hierarchically-clustered Heatmap in Python with Seaborn Clustermap
In this post, we will learn how to make hierarchically clustered heatmap in Python. We will use Saeborn’s Clustermap function to make a heat map with hierarchical clusters. Seaborn’s Clustermap is very versatile function, but we will showcase the use of the function with just one example. Let us load Pandas, Seaborn and matplotlib.pyplot to… Continue reading Hierarchically-clustered Heatmap in Python with Seaborn Clustermap