WebGL in Plotly and R in R
How to create plots using WebGL and Plotly
Plotly Studio: Transform any dataset into an interactive data application in minutes with AI. Try Plotly Studio now.
Note: We are retiring documentation for R, MATLAB, Julia, and F#. Learn more about this change here.
WebGL with 1 Million points
library(plotly)
n <- 1e5
x <- rnorm(n)
y <- 2*x + rnorm(n, sd = 5)
fig <- plot_ly(x = x, y = y, alpha = 0.01)
fig <- fig %>% toWebGL()
fig