A scatter plot is a chart used to plot a correlation between two or more variables at the same time. We can consider the example of IRIS dataset in R using ggplot2 library. # Example of ScatterPlot library(ggplot2) ggplot(iris,aes(y=Sepal.Length,x=Petal.Length))+geom_point() Sample output: This shows a comparison between Sepal. Length and Petal.Length in the IRIS dataset leveraging R ggplot2 library.