• 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

ggplot2

How To Get the Default Color Codes of ggplot2?

datavizpyr · December 17, 2020 ·

ggplot2 adds colors to its plot automatically. Sometimes you might want to get the list of colors (color codes) that ggplot2 uses. In this post, we will learn how to get the color codes that ggplot2 uses by default in a plot. We will use scales package in tidyverse to get the … [Read more...] about How To Get the Default Color Codes of ggplot2?

Filed Under: get color codes scales, ggplot2 color codes, R Tagged With: ggplot2, hue_pal in scales, R

How To Manually Specify Colors for Barplot in ggplot2?

datavizpyr · December 8, 2020 ·

Manually specified colors in barplot R

One of the great things about making plots with ggplot2 is that it offers a number of ways to add colors to the plots. We can use ggplot2's default options for adding colors to plots. However, sometimes one might want to manually specify colors to a plot. There are a few ways to … [Read more...] about How To Manually Specify Colors for Barplot in ggplot2?

Filed Under: barplot ggplot2, R, specify colors Tagged With: ggplot2, R

How To Make Scatterplot with Marginal Histograms in R?

datavizpyr · December 2, 2020 ·

Scatterplot with marginal multi-histogram with ggExtra

In this post, we will learn how to make a scatterplot with marginal histograms in R. We will use ggExtra, one of the ggplot2 extension packages to make scatterplot with marginal histogram. First, we will add simple marginal histograms to a scatterplot made with ggplot2. Next, we … [Read more...] about How To Make Scatterplot with Marginal Histograms in R?

Filed Under: ggExtra ggplot2 extension, ggplot2, marginal plot ggplot2, R Tagged With: ggExtra, ggplot2, R

A mistake to Avoid while making boxplot with datapoints in ggplot2

datavizpyr · November 17, 2020 ·

Boxplots with Jittered Data points with outlier shape

Making a boxplot with data points on top of the boxplot is a great way to show distributions of multiple groups. A big advantage is that one can see the raw data and the summary stats of distributions using boxplot with data points. ggplot2 in R makes it easy to make boxplots … [Read more...] about A mistake to Avoid while making boxplot with datapoints in ggplot2

Filed Under: ggplot boxplot outlier.shape, R, remove outlier boxplot Tagged With: ggplot2, ggplot2 Boxplot, R

How to Make Time-Series Plot with Rolling Mean in R?

datavizpyr · November 10, 2020 ·

Time Series Plot with rolling mean

In this post we will learn how to make a time-series plot with a rolling mean using R. Often time-series data fluctuate a lot in short-term and such fluctuations can make it difficult to see the overall pattern in the plot. A solution is to smooth-out the short term … [Read more...] about How to Make Time-Series Plot with Rolling Mean in R?

Filed Under: R, rolling mean with R Tagged With: ggplot2, R

  • « Go to Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • Interim pages omitted …
  • Page 14
  • 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