開始使用免費開始

簡單散佈圖

現在你已經建立了時間序列圖,接下來請建立一個互動式散佈圖,將交易量與日期對照。

plotly 套件與 acwi 資料集已為你載入。

本練習屬於課程

R 的 plotly 互動式資料視覺化:中級

檢視課程

練習說明

  • 建立一個散佈圖,將交易 Volume(y 軸)對上 Date(x 軸)。

動手互動練習

試著完成這個範例程式碼,體驗一下這個練習。

# Create a scatterplot with Date on the x-axis 
# and Volume on the y-axis
acwi %>% 
  plot_ly(x = ___, y = ___) %>%
  ___()
編輯並執行程式碼