How To Color Boxplots By a Variable in R with ggplot2?

Filling boxplot with colors using geom_boxplot()

In this tutorial, we learn how to color boxplots in R by a variable. With ggplot2 in R, we can color boxplots in multiple ways. In this post, we will first see how to make a simple boxplot in R. And then we will learn how to fill the boxes on boxplot by a variable.… Continue reading How To Color Boxplots By a Variable in R with ggplot2?

How To Make Bubble plot with Altair in Python?

How to Make Bubble Plot with Filled Circle with Altair?

Bubble plot is a data visualization technique that shows bubbles i.e. circles on a two dimensional plot. Bubble plot is simply a scatter plot where we plot bubbles/circles instead of points in a scatter plot. Bubble chart is useful when you have three variables and the size of the bubbles show the third variable. In… Continue reading How To Make Bubble plot with Altair in Python?

Introduction to Color Palettes in R with RColorBrewer

RColorBrewer color blind friendly palettes

RColorBrewer is a R package based on colorbrewer2.org that offers a variety of color palettes to use while making plots in R. Choosing which colors to use while making data visualization is not an easy task. In this tutorial we will see the basics of color palettes available with RColorBrewer package. A Color palette is… Continue reading Introduction to Color Palettes in R with RColorBrewer

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?

Exit mobile version