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 … [Read more...] about How To Color a Scatter Plot by a Variable in Altair?
How to Make Heatmaps with Seaborn in Python?
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 … [Read more...] about How to Make Heatmaps with Seaborn in Python?
Multiple Density Plots with Pandas in Python
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 … [Read more...] about Multiple Density Plots with Pandas in Python
How To Add Mean Line or Vertical Line to Density Plot with ggplot2?
Adding a vertical line on mean or median value of a distribution to its density plot can make understanding the plot easier. In this post, we will first see a simple example of adding mean line to a density plot using ggplot2 in R. And then we will also see an example of adding a … [Read more...] about How To Add Mean Line or Vertical Line to Density Plot with ggplot2?
Horizontal Boxplots with ggplot2 in R
Horizontal boxplots are useful when you are making a boxplot multiple groups & you want the group names to be easily readable. And horizontal boxplots can also make it easy see the pattern among the groups quickly. In this post will learn how to make horizontal boxplots with … [Read more...] about Horizontal Boxplots with ggplot2 in R