How To Make Histogram with Median Line using Altair in Python?

Histogram with Median Line with Altair

In this post we will learn how to make a histogram with a median line using Altair in Python. This is also a great example illustrating the power of Altair’s grammar of graphics. Let us load the packages needed to make histogram with a median or mean line using Altair. Let us generate data to… Continue reading How To Make Histogram with Median Line using Altair in Python?

How To Change Axis Label, Set Title and Subtitle in ggplot2

Add Subtitle to a plot with ggplot2

One of the key ingredients of a good plot is providing enough information on the plot to help convey the message in the plot. In this post we will examples of how to change x-axis and y-axis labels in a plot made with ggplot2 in R. And then we will see how to change axis… Continue reading How To Change Axis Label, Set Title and Subtitle in ggplot2

How To Make Boxplots with Seaborn in Python?

Boxplot with Catplot Seaborn Python

Boxplot is a way to visualize quantitative/numeric variable, in a concise way using quartiles of a data distribution. Here, we will see examples of making simple boxplots using Seaborn in Python. Let us first load packages needed for making boxplot. We will use weather data from Seattle from vega-dataset. We will directly load the data… Continue reading How To Make Boxplots with Seaborn in Python?

How to Make Violin Plot with Seaborn in Python?

Violin plot with Seaborn

Violin plots are great way visualize continuous data distributions from multiple groups or categories. Violin plots are a lot like boxplot. Basically Violin plot is combination of boxplot and density plot. The shape of the density resembles a violin’s shape. Violinplot quickly shows the summary level stats of a numerical variable with multiple groups. In… Continue reading How to Make Violin Plot with Seaborn in Python?

How to Make a Simple Histogram with Altair in Python?

Histogram with Altair

Altair is the newest to Pyhon’s Data Visualization landscape. In this post we will see a simple example of making a histogram using Python’s Altair package. Let us import Altair as alt and also import data from vega_datasets. We will use weather data set from Seattle. The primary object in Altair to make data visualization… Continue reading How to Make a Simple Histogram with Altair in Python?

Exit mobile version