library(plotly)
## Warning: package 'plotly' was built under R version 4.0.3
## Loading required package: ggplot2
##
## Attaching package: 'plotly'
## The following object is masked from 'package:ggplot2':
##
## last_plot
## The following object is masked from 'package:stats':
##
## filter
## The following object is masked from 'package:graphics':
##
## layout
library(magrittr)
##Data Source: https://www.openintro.org/data/index.php?data=oscars
oscars <- read.csv("C:/Users/themo/Downloads/oscars.csv")
View(oscars)
Best Actor/Actress Ages
oscarage <- oscars %>%
ggplot(aes(x= oscar_yr, y = age, color = award)) + geom_point()
ggplotly(oscarage)