## speed dist ## 1 4 2 ## 2 4 10 ## 3 7 4 ## 4 7 22 ## 5 8 16 ## 6 9 10
We are loading “datasets” package for loading “cars” dataset and plotly library. From “cars” dataset we are going to see the relation between speed and distance for a total stop from 50 cars.