R로 배우는 plotly 인터랙티브 데이터 시각화
Adam Loy
Statistician, Carleton College


wine %>%
plot_ly(x = ~Flavanoids, y = ~Alcohol, color = ~Type) %>%
add_markers()

wine %>%
plot_ly(x = ~Flavanoids, y = ~Alcohol, color = ~Color) %>%
add_markers()

wine %>%
plot_ly(x = ~Flavanoids, y = ~Alcohol, color = ~Type) %>%
add_markers(colors = "Dark2")

wine %>%
plot_ly(x = ~Flavanoids, y = ~Alcohol, color = ~Type) %>%
add_markers(colors = c("orange", "black", "skyblue"))
R로 배우는 plotly 인터랙티브 데이터 시각화