How To Color a Scatter Plot by a Variable in Altair?

In this tutorial, we will learn how to color data points in a scatter plot by a variable using Altair in Python. Let us load Altair and Pandas. We will use gapminder data to make scatter plot first and color by a variable using Altair. To make a simple scatter plot with Altair we use… Continue reading How To Color a Scatter Plot by a Variable in Altair?

How to Make Heatmaps with Seaborn in Python?

Heatmap with Seaborn using coolwarm colormap

Heatmaps are a way of visualizing the raw data as it is. Heatmaps visualzises a matrix/table/dataframe of numbers as colors. We can easily make a heatmap of a dataframe of numbers using Seaborn. In this tutorial, we will learn how to make a heatmap using Seaborn’s heatmap function. When you are working to making a… Continue reading How to Make Heatmaps with Seaborn in Python?

Multiple Density Plots with Pandas in Python

Multiple Density Plots with Pandas

Often you may have data belonging to multiple groups. Visualizing them as multiple density plot is a great way to understand the similarities and differences between the groups. In this tutorial, we will learn how to make multi-density plot using Pandas in Python. We will use developer salary from US (from Stack Overflow survey) with… Continue reading Multiple Density Plots with Pandas in Python

Density Plots with Pandas in Python

Density Plot on log-scale with Pandas

Pandas’ plot function is extremely useful in quickly making a variety of plots including density plots, boxplots and many more. In this post, we will see examples of making simple density plots using Pandas plot.density() function in Python. Let us first load the packages needed. We will use data from 2019 Stack Overflow developer survey.… Continue reading Density Plots with Pandas in Python

Time Series Plot or Line plot with Pandas

Line Plot with Multiple Variables in Pandas

In this tutorial, we will learn how to make line plot or time series plot using Pandas in Python. Pandas’ plotting capabilities are great for quick exploratory data visualisation. Time Series plot is a line plot with date on y-axis. Let us load the packages needed to make line plots using Pandas. We will use… Continue reading Time Series Plot or Line plot with Pandas

Exit mobile version