/g2r

:chart_with_downwards_trend: Grammar of graphics for interactive visualisation using G2.js

Primary LanguageROtherNOASSERTION



R-CMD-check Coveralls test coverage

G2.js for R.

Website | Docs | Get Started

Installation

You can install package from Github.

# install.packages("remotes")
remotes::install_github("devOpifex/g2r")

Example

library(g2r)

g2(cars, asp(speed, dist, color = dist)) %>% 
  fig_point(asp(size = dist)) %>% 
  gauge_color_viridis()

Limitations

g2r currently does not work well with large datasets (performance drop), and some features are still under development, namely rmarkdown actions, shiny proxies, and maps. Theming is currently rather unwieldy.