Skip to contents

An R package that creates an htmlwidget wrapping the regl-scatterplot JavaScript library. Create pan-and-zoomable scatterplots—with the rscatter function—that scale to millions of points and display in the RStudio viewer, R Markdown, Quarto, and Shiny.

# Install remotes package if necessary
if (!require("remotes")) {
  install.packages("remotes")
}

remotes::install_github("davidpross/rscatter", upgrade = FALSE)
library(rscatter)

rscatter(rnorm(1e4), rnorm(1e4))

plot

Related Tools

  • Jupyter Scatter is a widget for use with interactive computational notebooks in the Python world, written by the creator of regl-scatterplot.
  • ScatterD3 is another HTML widget for making scatterplots.