Provides a set of wrapper functions for 'Visa Chart Components'. 'Visa Chart Components' < https://github.com/visa/visa-chart-components> is an accessibility focused, framework agnostic set of data experience design systems components for the web.
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.
$ install.packages("visachartR")
$ 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")