plotly包测试2 By ripeconan 發表於 2016-05-21 文章目錄 1. plot包继续测试 plot包继续测试本次测试直接插入html代码 1library(plotly) 1234set.seed(100)d <- diamonds[sample(nrow(diamonds), 1000), ]plot_ly(d, x = carat, y = price, text = paste("Clarity: ", clarity), mode = "markers", color = carat, size = carat)