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?
Python
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?
How To Order Bars in Barplot using Seaborn in Python?
Barplots are a great way to visualize the relationship between categorical variables and their corresponding quantitative values. However, the default order of categories in Seaborn is often alphabetical, which may not be meaningful. Sorting the bars makes comparisons easier and … [Read more...] about 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 … [Read more...] about 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 … [Read more...] about How To Highlight a Bar in Bar Chart in Altair?




