Aan de slagGa gratis aan de slag

A simple scatterplot

Now that you have created a time series plot, your task is to create an interactive scatterplot of the trading volume against the date.

The plotly package and acwi data set have already been loaded for you.

Deze oefening maakt deel uit van de cursus

Intermediate Interactive Data Visualization with plotly in R

Cursus bekijken

Oefeninstructies

  • Create a scatterplot of the trading Volume (on the y-axis) against the Date (on the x-axis).

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Create a scatterplot with Date on the x-axis 
# and Volume on the y-axis
acwi %>% 
  plot_ly(x = ___, y = ___) %>%
  ___()
Code bewerken en uitvoeren