• 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
  • Python Viz
  • Seaborn
  • Altair
  • R Viz
  • ggplot2
  • About
    • Privacy Policy
  • Show Search
Hide Search

ggplot2

How To Join Multiple ggplot2 Plots with cowplot?

datavizpyr · January 17, 2021 ·

Combine plots with shared legend and title using cowplot in R

Combining or joining multiple plots made with ggplot2 into a single plot is often very useful in telling a story with data. Now we have multiple options in R, including patchwork, gridExtra, and cowplot to join multiple plots made by ggplot2. In this post, we will see how to use … [Read more...] about How To Join Multiple ggplot2 Plots with cowplot?

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

How To Make Dumbbell Plot in R with ggplot2?

datavizpyr · January 10, 2021 ·

Dumbbell plot with ggplot2: Customizing Colors

Dumbbell plots or connected dot plots are a great way to visualize change in something over time for multiple groups. Dumbbell plots are a great alternative to grouped barchart as dumbbell plot uses much less ink on the paper and is much simpler to understand. We can use … [Read more...] about How To Make Dumbbell Plot in R with ggplot2?

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

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

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 17
  • Page 18
  • Page 19
  • Page 20
  • Page 21
  • Interim pages omitted …
  • Page 27
  • Go to Next Page »

Primary Sidebar

Tags

Altair barplot Boxplot boxplot python boxplot with jiitered text labels Bubble Plot Color Palette Countplot Density Plot Facet Plot gganimate ggplot2 ggplot2 Boxplot ggplot2 error ggplot boxplot ggridges ggtext element_markdown() Grouped Barplot R heatmap heatmaps Histogram Histograms Horizontal boxplot Python lollipop plot Maps Matplotlib Pandas patchwork pheatmap Pyhon Python R RColorBrewer reorder boxplot ggplot Ridgeline plot Scatter Plot Scatter Plot Altair Seaborn Seaborn Boxplot Stock Price Over Time Stripplot UpSetR Violinplot Violin Plot World Map ggplot2

Buy Me a Coffee

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

Go to mobile version