muiCharts gives access to MUI X Charts React chart components for data visualization from R.
install.packages("muiCharts")You can install the development version of muiCharts like so:
remotes::install_github("lgnbhl/muiCharts")Read the full documentation with examples here.
library(muiCharts)
BarChart(
dataset = head(starwars_people, 4),
xAxis = list(
list(scaleType = "band", dataKey = "name")
),
series = list(
list(dataKey = "height", label = "Height")
),
height = 300
)
muiCharts is built on top of shiny.react, the R
package by Appsilon that makes
it possible to use React components in Shiny and Quarto.
If you have any issue, question or want to contribute with a pull request, don’t hesitate to write me on https://github.com/lgnbhl/muiCharts
Follow Felix Luginbuhl on LinkedIn for updates.
“MUI” and “MUI X Charts” are trademarks of MUI
Inc. muiCharts is an independent, community-maintained R
package and is not affiliated with, sponsored by, or endorsed by
MUI Inc. The names are used solely to identify the underlying
JavaScript library that this package wraps. See MUI’s legal information for the canonical
list of MUI’s published policies.