IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Intermediate Interactive Data Visualization with plotly in R

Visualizza il corso

Istruzioni dell'esercizio

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

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Create a scatterplot with Date on the x-axis 
# and Volume on the y-axis
acwi %>% 
  plot_ly(x = ___, y = ___) %>%
  ___()
Modifica ed esegui il codice