Ajay Kirthik G
November 5, 2024
Using the mtcars dataset we plot can attempt to
understand the relationship of various factors to gas mileage
(mpg).
We plot weight (wt) vs. mileage (mpg)
spatially along the x/y axes. We visualize the number of cylinders
(cyl) as colors and the amount of horsepower
(hp) as the size of an individual point in the plot.
## Warning: package 'plotly' was built under R version 4.3.3
## Warning: package 'ggplot2' was built under R version 4.3.3
## Warning: `line.width` does not currently support multiple values.
## Warning: `line.width` does not currently support multiple values.
## Warning: `line.width` does not currently support multiple values.