In this tutorial, we will see an example of adding edge color/edge line to histograms made with Seaborn. Let us load the packages needed to make histogram with outlines using Seaborn. We will use Seattle weather data from vega_datasets to make histograms. Let us … [Read more...] about How to Add Outline/Edge Color to Histogram in Seaborn?
Coloring Barplots with ggplot2 in R
In this tutorial, we will see examples of making barplots and coloring the barplots in a few simple ways. We will see how to color barplots manually by specifying a color of interest and how to color a barplot by another variable in the dataset. Let us load tidyverse suite of … [Read more...] about Coloring Barplots with ggplot2 in R
Histograms with Seaborn in Python
Histograms are a type of barchart, that visualizes how a quantitative variable is distributed. With the right histogram we can quickly learn about the variable. For example, we can learn what is the most common value, what is the minimum and maximum and what is the spread of the … [Read more...] about Histograms with Seaborn in Python
How to Make Horizontal Stacked Barplots with ggplot2 in R?
Stacked barcharts are a variant of barplots, when you have data from multiple groups. In this tutorial, we will see two examples of making stacked barplots using ggplt2 in R. First we will see how to make stacked barplot of two groups with one on top of the other. In the second … [Read more...] about How to Make Horizontal Stacked Barplots with ggplot2 in R?
Heatmap from Matrix using ggplot2 in R
Heatmaps are data visualization tool that displays a matrix of data as a matrix of colors. For example, matrix elements with low values will have lighter colors and the elelments with high values will have a darker color. In earlier post we saw examples of making heatmap … [Read more...] about Heatmap from Matrix using ggplot2 in R