• 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 Customize Border in facet in ggplot2

datavizpyr · April 15, 2021 ·

Remove Space Between Panels in Facet

Faceting in ggplot2 is one of the most powerful ways to create small multiples—a series of plots split by a grouping variable. With facet_wrap() and facet_grid(), you can easily compare distributions, trends, or relationships across categories. New to facets? Start here: How … [Read more...] about How To Customize Border in facet in ggplot2

Filed Under: ggplot2, R, remove facet border Tagged With: ggplot2, R

How To Make PCA Plot with R

datavizpyr · April 6, 2021 ·

PCA plot: PC1 vs PC2

Principal Component Analysis (PCA) is one of the commonly used methods used for unsupervised learning. Making plots using the results from PCA is one of the best ways understand the PCA results. Earlier, we saw how to make Scree plot that shows the percent of variation explained … [Read more...] about How To Make PCA Plot with R

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

How to Change X and Y Axis Values from Real to Integers in ggplot2

datavizpyr · February 13, 2021 ·

How to Change X or Y-axis Values to Integers?

When you make a plot with ggplot2, it automatically chooses appropriate range for x and y-axis values and it can be either floats or integers. In this post, we will see how to change X/Y-axis values to integers. In ggplot2, we can use scale_x_continuous() and scale_y_continuous() … [Read more...] about How to Change X and Y Axis Values from Real to Integers in ggplot2

Filed Under: ggplot2, integers on x-axis ggplot2, R Tagged With: ggplot2, R

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

  • « Go to Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • 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