Scatter plot is a great way visualize the relationship between two quantitative variables. However, scatter plot can suffer from over-plotting of data points, when you have lots of data. Overplotting plots multiple overlapping data points. One of the solutions to avoid overplotting is to set the transparency levels for data points using the argument alpha… Continue reading Scatter Plot with Transparent Points Using ggplot2 in R
Author: datavizpyr
Simple Scatter Plot in R with ggplot2
Scatter plot is a great data visualization tool to visualize relationship between two quantitative variables. We will see an example to make a simple scatter plot in R with ggplot2. Let us first load the ggplot2 package. Let us create a data set and store it in a data frame. Let us use the above… Continue reading Simple Scatter Plot in R with ggplot2