Getting Started with ggWebGL

Overview

ggWebGL currently provides a browser-native WebGL backend for a focused subset of ggplot2.

Current capabilities

The current implementation provides:

Example

library(ggplot2)
library(ggWebGL)

plot <- ggplot(diamonds, aes(carat, price, colour = cut)) +
  geom_point_webgl(size = 1.1, alpha = 0.18) +
  theme_webgl(
    shader = "density_splat",
    interactions = c("pan", "zoom", "hover")
  )

ggplot_webgl(plot, height = 520)