Skip to content
/ g2r Public

📉 Grammar of graphics for interactive visualisation using G2.js

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

devOpifex/g2r

Repository files navigation

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.