13.1 散点图
plotly.js 提供很多图层用于绘制各类图形 https://github.com/plotly/plotly.js/tree/master/src/traces
# 折线图
plot_ly(Orange,
x = ~age, y = ~circumference, color = ~Tree,
type = "scatter", mode = "markers"
)
plotly.js 提供很多图层用于绘制各类图形 https://github.com/plotly/plotly.js/tree/master/src/traces
# 折线图
plot_ly(Orange,
x = ~age, y = ~circumference, color = ~Tree,
type = "scatter", mode = "markers"
)