README.md

[![R-CMD-check](https://github.com/devOpifex/g2r/workflows/R-CMD-check/badge.svg)](https://github.com/devOpifex/g2r/actions) [![Coveralls test coverage](https://coveralls.io/repos/github/devOpifex/g2r/badge.svg)](https://coveralls.io/github/devOpifex/g2r) [G2.js](https://g2.antv.vision/) for R. [Website](https://g2r.opifex.org) | [Docs](https://g2r.opifex.org/articles/docs.html) | [Get Started](https://g2r.opifex.org/articles/get-started.html)

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.



devOpifex/g2r documentation built on Jan. 16, 2022, 12:36 a.m.