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.
CRAN Version
$ install.packages("visachartR")
Development version:
$ remotes::install_github("visa/visa-chart-components/packages/charts-R")
Ready
status in this bundleStep 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")