• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Data Viz with Python and R

Learn to Make Plots in Python and R

  • Home
  • Seaborn
  • Matplotlib
  • ggplot2
  • Altair
  • About
    • Privacy Policy
  • Visualizing Activation Functions in Neural Networks
  • Confusion Matrix Calculator
  • Visualizing Dropout Rate in Neural Network
  • Visualizing Loss Functions in Neural Networks
  • Show Search
Hide Search

R

How To Make Density Plots with ggplot2 in R?

datavizpyr · January 13, 2020 ·

Density Plot with log scale

In this tutorial, we will see how to make density plots with ggplot2 in R. We will start with an example of making a basic density plot with ggplot2 and see multiple examples of making the density plots better. Let us load tidyverse, a suite R packages from RStudio and also … [Read more...] about How To Make Density Plots with ggplot2 in R?

Filed Under: Density plot ggplot2, R Tagged With: ggplot2, R

How to Combine Multiple ggplot2 Plots? Use Patchwork

datavizpyr · January 9, 2020 ·

Combining Multiple Plots

When you have made great data visualizations often you have to combine the plots into a single figure. Thomas Lin Pedersen from RStudio has made a fantastic R package to combine the plots. In his words, The goal of patchwork is to make it ridiculously simple to combine … [Read more...] about How to Combine Multiple ggplot2 Plots? Use Patchwork

Filed Under: Combine Multiple Plots, combine plots Patchwork, R Tagged With: ggplot2, patchwork, R

5 tips to make better histograms with ggplot2 in R

datavizpyr · January 8, 2020 ·

Histogram with density line in ggplot2

Histograms are of great use to visualize a uni-variate distribution. As ggplot2 defines, histograms "Visualise the distribution of a single continuous variable by dividing the x axis into bins and counting the number of observations in each bin." ggplot2's geom_histogram() … [Read more...] about 5 tips to make better histograms with ggplot2 in R

Filed Under: histogram ggplot2, R Tagged With: ggplot2, Histogram, R

Coloring Barplots with ggplot2 in R

datavizpyr · January 6, 2020 ·

Coloring Barplots by a Variable with ggplot2

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

Filed Under: barplot ggplot2, color barplots in R, R Tagged With: barplot, ggplot2, R

How to Make Horizontal Stacked Barplots with ggplot2 in R?

datavizpyr · January 2, 2020 ·

Stacked Barplots Side By Side 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?

Filed Under: barplot ggplot2, R, stacked barplot, stacked barplot side by side Tagged With: barplot, ggplot2, R

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 32
  • Page 33
  • Page 34
  • Page 35
  • Page 36
  • Page 37
  • Go to Next Page »

Primary Sidebar

Python & R Viz Hubs

  • Seaborn Guide & Cookbook
  • ggplot2 Guide & Cookbook
  • Matplotlib Guide & Cookbook
  • Confusion Matrix Calculator
  • Visualizing Activation Functions
  • Visualizing Dropout
  • Visualizing Loss Functions

Buy Me a Coffee

Copyright © 2026 · Daily Dish Pro on Genesis Framework · WordPress · Log in

Go to mobile version