Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.41 KB

File metadata and controls

50 lines (36 loc) · 1.41 KB

visachartR

This package wraps @visa/charts web components for use in R, leveraging the htmlwidgets R package. You can find visachartR on CRAN, installation steps provided below.


Installation Steps

  • CRAN Version
    $ install.packages("visachartR")
    
  • Development version:
    $ remotes::install_github("visa/visa-chart-components/packages/charts-R")
    

Components with Ready status in this bundle


# Use VCC as R functions

Step 1: Install install.packages("visachartR")

Step 2: Use component as any other R function

library(visachartR)

bar_chart(BOD, ordinalAccessor="Time", valueAccessor="demand")

scatter_plot(mtcars[order(mtcars$cyl),], "wt", "mpg", "cyl")