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?
Category: 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?
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
How To Make Ridgeline plot in Python with Seaborn?
Ridgeline plots are great to visualize numerical distributions corresponding to multiple groups or categorical variables. Ridgeline plots make density plots or histograms for each group one on top of each other and thus making it look like “a mountain range”. They are great for visualizing changes in numerical distributions over time or space. Claus Wilke… Continue reading How To Make Ridgeline plot in Python with Seaborn?