• 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 Place Legend Inside the Plot with ggplot2?

datavizpyr · June 24, 2020 ·

Customizing Legend Inside Scatter Plot ggplot2

Need to save space or create more polished visualizations? This comprehensive guide shows you exactly how to place ggplot2 legend inside plot using multiple positioning methods, with ready-to-use code examples that work for any chart type. Default legend placement outside the … [Read more...] about How To Place Legend Inside the Plot with ggplot2?

Filed Under: ggplot2, R Tagged With: ggplot2 move legend to inside

How To Add Labels to Grouped Barplot with Bars Side-By-Side in R?

datavizpyr · June 19, 2020 ·

Customizing Labels on Bars in Side by side Stacked Barplot

In this post we will learn how to add labels to bars on barplot that is stacked side-by-side. We will start with making side-by-side grouped barplot and work our way through adding annotation on top of each bar of the stacked barplot. Adding annotation to grouped barplot with … [Read more...] about How To Add Labels to Grouped Barplot with Bars Side-By-Side in R?

Filed Under: add labels to grouped barplot, ggplot2, R Tagged With: barplot, ggplot2, Grouped Barplot R, R

How To Connect Paired Points with Lines in Scatterplot in ggplot2?

datavizpyr · June 17, 2020 ·

Scatter plot with Paired points Connected by Arrow ggplot2

Scatter plots are a great way to visualize the trend between two quantitative variables. Sometimes, you may have paired quantitative variables and would like to see the how the pairs are related. For example you may have two quantitative variables corresponding to two different … [Read more...] about How To Connect Paired Points with Lines in Scatterplot in ggplot2?

Filed Under: ggplot2 Connect Paired Points, R Tagged With: connect paired points with lines, Scatter Plot

How To Adjust Legend Position in ggplot2?

datavizpyr · June 15, 2020 ·

ggplot2 legend on top of a plot

Legends are useful to add additional variables to a data visualization. By default, when we make a plot with legend using ggplot2, it places the legend on outside the plot on the right side. In this post, we will learn how to change or adjust the legend position in ggplot2. We … [Read more...] about How To Adjust Legend Position in ggplot2?

Filed Under: adjust legend position ggplot2, ggplot2, R Tagged With: ggplot2, R

How To Show Mean Value in Boxplots with ggplot2?

datavizpyr · June 10, 2020 ·

Customizing Mean mark to boxplot with ggplot2

Boxplots are a great way to visualize multiple distributions using summary statistics. Boxplot shows five summary statistics; the minimum, the maximum, the median, and the first and third quartiles of the data. Sometimes, you might want to add other statistical summary values on … [Read more...] about How To Show Mean Value in Boxplots with ggplot2?

Filed Under: ggplot2, mean in boxplot, R Tagged With: Boxplot, ggplot2, R

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 24
  • Page 25
  • Page 26
  • Page 27
  • Page 28
  • Interim pages omitted …
  • 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