In R studio :
#to select the data
mydata <- read.csv(file.choose())
# to install the package
install.packages(“ggplot2”)
#to get the insights from the data
ggplot(data=mydata[mydata$Carat<2.5,],
aes(x=Carat,y=Amount,colour=Clarity))+
geom_point(alpha=0.1)+
geom_smooth()

Leave a comment