# muiCharts **muiCharts** gives access to *MUI X Charts* React chart components for data visualization from R. ## Install You can install the development version of **muiCharts** like so: ``` r remotes::install_github("lgnbhl/muiCharts") ``` **Read the full documentation with examples [here](https://felixluginbuhl.com/muiCharts/).** ## Basic example ``` r library(muiCharts) BarChart( dataset = head(starwars_people, 4), xAxis = list( list(scaleType = "band", dataKey = "name") ), series = list( list(dataKey = "height", label = "Height") ), height = 300 ) ``` ![BarChart example](https://raw.githubusercontent.com/lgnbhl/muiCharts/refs/heads/master/man/Figures/BarChart.png) ### Resources - [Package documentation](https://felixluginbuhl.com/muiCharts/) - [Official MUI X Charts docs](https://mui.com/x/react-charts/) ### Acknowledgements `muiCharts` is built on top of [shiny.react](https://github.com/Appsilon/shiny.react), the R package by [Appsilon](https://www.appsilon.com/) that makes it possible to use React components in Shiny and Quarto. ### Contributing If you have any issue, question or want to contribute with a pull request, don’t hesitate to write me on Follow [Felix Luginbuhl](https://linkedin.com/in/FelixLuginbuhl) on LinkedIn for updates. ### Trademark notice “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](https://mui.com/legal/) for the canonical list of MUI’s published policies. # Package index ## All functions - [`AnimatedArea()`](https://felixluginbuhl.com/muiCharts/reference/AnimatedArea.md) : AnimatedArea - [`AnimatedLine()`](https://felixluginbuhl.com/muiCharts/reference/AnimatedLine.md) : AnimatedLine - [`AreaElement()`](https://felixluginbuhl.com/muiCharts/reference/AreaElement.md) : AreaElement - [`AreaPlot()`](https://felixluginbuhl.com/muiCharts/reference/AreaPlot.md) : AreaPlot - [`BarChart()`](https://felixluginbuhl.com/muiCharts/reference/BarChart.md) : BarChart - [`BarElement()`](https://felixluginbuhl.com/muiCharts/reference/BarElement.md) : BarElement - [`BarLabel()`](https://felixluginbuhl.com/muiCharts/reference/BarLabel.md) : BarLabel - [`BarPlot()`](https://felixluginbuhl.com/muiCharts/reference/BarPlot.md) : BarPlot - [`ChartsAxis()`](https://felixluginbuhl.com/muiCharts/reference/ChartsAxis.md) : ChartsAxis - [`ChartsAxisHighlight()`](https://felixluginbuhl.com/muiCharts/reference/ChartsAxisHighlight.md) : ChartsAxisHighlight - [`ChartsAxisHighlightPath()`](https://felixluginbuhl.com/muiCharts/reference/ChartsAxisHighlightPath.md) : ChartsAxisHighlightPath - [`ChartsAxisTooltipContent()`](https://felixluginbuhl.com/muiCharts/reference/ChartsAxisTooltipContent.md) : ChartsAxisTooltipContent - [`ChartsBrushOverlay()`](https://felixluginbuhl.com/muiCharts/reference/ChartsBrushOverlay.md) : ChartsBrushOverlay - [`ChartsClipPath()`](https://felixluginbuhl.com/muiCharts/reference/ChartsClipPath.md) : ChartsClipPath - [`ChartsContainer()`](https://felixluginbuhl.com/muiCharts/reference/ChartsContainer.md) : ChartsContainer - [`ChartsDataProvider()`](https://felixluginbuhl.com/muiCharts/reference/ChartsDataProvider.md) : ChartsDataProvider - [`ChartsGrid()`](https://felixluginbuhl.com/muiCharts/reference/ChartsGrid.md) : ChartsGrid - [`ChartsItemTooltipContent()`](https://felixluginbuhl.com/muiCharts/reference/ChartsItemTooltipContent.md) : ChartsItemTooltipContent - [`ChartsLabel()`](https://felixluginbuhl.com/muiCharts/reference/ChartsLabel.md) : ChartsLabel - [`ChartsLabelMark()`](https://felixluginbuhl.com/muiCharts/reference/ChartsLabelMark.md) : ChartsLabelMark - [`ChartsLayerContainer()`](https://felixluginbuhl.com/muiCharts/reference/ChartsLayerContainer.md) : ChartsLayerContainer - [`ChartsLegend()`](https://felixluginbuhl.com/muiCharts/reference/ChartsLegend.md) : ChartsLegend - [`ChartsLocalizationProvider()`](https://felixluginbuhl.com/muiCharts/reference/ChartsLocalizationProvider.md) : ChartsLocalizationProvider - [`ChartsReferenceLine()`](https://felixluginbuhl.com/muiCharts/reference/ChartsReferenceLine.md) : ChartsReferenceLine - [`ChartsSurface()`](https://felixluginbuhl.com/muiCharts/reference/ChartsSurface.md) : ChartsSurface - [`ChartsSvgLayer()`](https://felixluginbuhl.com/muiCharts/reference/ChartsSvgLayer.md) : ChartsSvgLayer - [`ChartsText()`](https://felixluginbuhl.com/muiCharts/reference/ChartsText.md) : ChartsText - [`ChartsToolbar()`](https://felixluginbuhl.com/muiCharts/reference/ChartsToolbar.md) : ChartsToolbar - [`ChartsToolbarButton()`](https://felixluginbuhl.com/muiCharts/reference/ChartsToolbarButton.md) : ChartsToolbarButton - [`ChartsTooltip()`](https://felixluginbuhl.com/muiCharts/reference/ChartsTooltip.md) : ChartsTooltip - [`ChartsTooltipCell()`](https://felixluginbuhl.com/muiCharts/reference/ChartsTooltipCell.md) : ChartsTooltipCell - [`ChartsTooltipContainer()`](https://felixluginbuhl.com/muiCharts/reference/ChartsTooltipContainer.md) : ChartsTooltipContainer - [`ChartsTooltipPaper()`](https://felixluginbuhl.com/muiCharts/reference/ChartsTooltipPaper.md) : ChartsTooltipPaper - [`ChartsTooltipRow()`](https://felixluginbuhl.com/muiCharts/reference/ChartsTooltipRow.md) : ChartsTooltipRow - [`ChartsTooltipTable()`](https://felixluginbuhl.com/muiCharts/reference/ChartsTooltipTable.md) : ChartsTooltipTable - [`ChartsWrapper()`](https://felixluginbuhl.com/muiCharts/reference/ChartsWrapper.md) : ChartsWrapper - [`ChartsXAxis()`](https://felixluginbuhl.com/muiCharts/reference/ChartsXAxis.md) : ChartsXAxis - [`ChartsYAxis()`](https://felixluginbuhl.com/muiCharts/reference/ChartsYAxis.md) : ChartsYAxis - [`ContinuousColorLegend()`](https://felixluginbuhl.com/muiCharts/reference/ContinuousColorLegend.md) : ContinuousColorLegend - [`FocusedBar()`](https://felixluginbuhl.com/muiCharts/reference/FocusedBar.md) : FocusedBar - [`FocusedLineMark()`](https://felixluginbuhl.com/muiCharts/reference/FocusedLineMark.md) : FocusedLineMark - [`FocusedPieArc()`](https://felixluginbuhl.com/muiCharts/reference/FocusedPieArc.md) : FocusedPieArc - [`FocusedRadarMark()`](https://felixluginbuhl.com/muiCharts/reference/FocusedRadarMark.md) : FocusedRadarMark - [`FocusedScatterMark()`](https://felixluginbuhl.com/muiCharts/reference/FocusedScatterMark.md) : FocusedScatterMark - [`Gauge()`](https://felixluginbuhl.com/muiCharts/reference/Gauge.md) : Gauge - [`GaugeContainer()`](https://felixluginbuhl.com/muiCharts/reference/GaugeContainer.md) : GaugeContainer - [`GaugeReferenceArc()`](https://felixluginbuhl.com/muiCharts/reference/GaugeReferenceArc.md) : GaugeReferenceArc - [`GaugeValueArc()`](https://felixluginbuhl.com/muiCharts/reference/GaugeValueArc.md) : GaugeValueArc - [`GaugeValueText()`](https://felixluginbuhl.com/muiCharts/reference/GaugeValueText.md) : GaugeValueText - [`LineChart()`](https://felixluginbuhl.com/muiCharts/reference/LineChart.md) : LineChart - [`LineElement()`](https://felixluginbuhl.com/muiCharts/reference/LineElement.md) : LineElement - [`LineHighlightElement()`](https://felixluginbuhl.com/muiCharts/reference/LineHighlightElement.md) : LineHighlightElement - [`LineHighlightPlot()`](https://felixluginbuhl.com/muiCharts/reference/LineHighlightPlot.md) : LineHighlightPlot - [`LinePlot()`](https://felixluginbuhl.com/muiCharts/reference/LinePlot.md) : LinePlot - [`MarkElement()`](https://felixluginbuhl.com/muiCharts/reference/MarkElement.md) : MarkElement - [`MarkPlot()`](https://felixluginbuhl.com/muiCharts/reference/MarkPlot.md) : MarkPlot - [`muiChartsDependency()`](https://felixluginbuhl.com/muiCharts/reference/muiChartsDependency.md) : Mui Charts UI JS dependency - [`PieArc()`](https://felixluginbuhl.com/muiCharts/reference/PieArc.md) : PieArc - [`PieArcLabel()`](https://felixluginbuhl.com/muiCharts/reference/PieArcLabel.md) : PieArcLabel - [`PieArcLabelPlot()`](https://felixluginbuhl.com/muiCharts/reference/PieArcLabelPlot.md) : PieArcLabelPlot - [`PieArcPlot()`](https://felixluginbuhl.com/muiCharts/reference/PieArcPlot.md) : PieArcPlot - [`PiecewiseColorLegend()`](https://felixluginbuhl.com/muiCharts/reference/PiecewiseColorLegend.md) : PiecewiseColorLegend - [`PieChart()`](https://felixluginbuhl.com/muiCharts/reference/PieChart.md) : PieChart - [`PiePlot()`](https://felixluginbuhl.com/muiCharts/reference/PiePlot.md) : PiePlot - [`print(`*``*`)`](https://felixluginbuhl.com/muiCharts/reference/print.muiCharts.md) : Print muiCharts components - [`RadarAxis()`](https://felixluginbuhl.com/muiCharts/reference/RadarAxis.md) : RadarAxis - [`RadarAxisHighlight()`](https://felixluginbuhl.com/muiCharts/reference/RadarAxisHighlight.md) : RadarAxisHighlight - [`RadarChart()`](https://felixluginbuhl.com/muiCharts/reference/RadarChart.md) : RadarChart - [`RadarDataProvider()`](https://felixluginbuhl.com/muiCharts/reference/RadarDataProvider.md) : RadarDataProvider - [`RadarGrid()`](https://felixluginbuhl.com/muiCharts/reference/RadarGrid.md) : RadarGrid - [`RadarMetricLabels()`](https://felixluginbuhl.com/muiCharts/reference/RadarMetricLabels.md) : RadarMetricLabels - [`RadarSeriesArea()`](https://felixluginbuhl.com/muiCharts/reference/RadarSeriesArea.md) : RadarSeriesArea - [`RadarSeriesMarks()`](https://felixluginbuhl.com/muiCharts/reference/RadarSeriesMarks.md) : RadarSeriesMarks - [`RadarSeriesPlot()`](https://felixluginbuhl.com/muiCharts/reference/RadarSeriesPlot.md) : RadarSeriesPlot - [`Scatter()`](https://felixluginbuhl.com/muiCharts/reference/Scatter.md) : Scatter - [`ScatterChart()`](https://felixluginbuhl.com/muiCharts/reference/ScatterChart.md) : ScatterChart - [`ScatterMarker()`](https://felixluginbuhl.com/muiCharts/reference/ScatterMarker.md) : ScatterMarker - [`ScatterPlot()`](https://felixluginbuhl.com/muiCharts/reference/ScatterPlot.md) : ScatterPlot - [`SparkLineChart()`](https://felixluginbuhl.com/muiCharts/reference/SparkLineChart.md) : SparkLineChart - [`starwars_films`](https://felixluginbuhl.com/muiCharts/reference/starwars_films.md) : Star Wars Films - [`starwars_people`](https://felixluginbuhl.com/muiCharts/reference/starwars_people.md) : Star Wars People - [`starwars_planets`](https://felixluginbuhl.com/muiCharts/reference/starwars_planets.md) : Star Wars Planets - [`starwars_species`](https://felixluginbuhl.com/muiCharts/reference/starwars_species.md) : Star Wars Species - [`starwars_starships`](https://felixluginbuhl.com/muiCharts/reference/starwars_starships.md) : Star Wars Starships # Articles ### All vignettes - [Area Charts](https://felixluginbuhl.com/muiCharts/articles/areas.md): - [Axis & Grid](https://felixluginbuhl.com/muiCharts/articles/axis.md): - [Bar Charts](https://felixluginbuhl.com/muiCharts/articles/bars.md): - [Composition](https://felixluginbuhl.com/muiCharts/articles/composition.md): - [Custom Components](https://felixluginbuhl.com/muiCharts/articles/custom-components.md): - [Gauge Charts](https://felixluginbuhl.com/muiCharts/articles/gauge.md): - [Highlighting](https://felixluginbuhl.com/muiCharts/articles/highlighting.md): - [Introduction](https://felixluginbuhl.com/muiCharts/articles/introduction.md): - [Legend](https://felixluginbuhl.com/muiCharts/articles/legend.md): - [Line Charts](https://felixluginbuhl.com/muiCharts/articles/lines.md): - [Pie Charts](https://felixluginbuhl.com/muiCharts/articles/pies.md): - [Quarto](https://felixluginbuhl.com/muiCharts/articles/quarto.md): - [Radar Charts](https://felixluginbuhl.com/muiCharts/articles/radar.md): - [Scatter Charts](https://felixluginbuhl.com/muiCharts/articles/scatter.md): - [Shiny](https://felixluginbuhl.com/muiCharts/articles/shiny.md): - [Sparkline Charts](https://felixluginbuhl.com/muiCharts/articles/sparkline.md): - [Styling](https://felixluginbuhl.com/muiCharts/articles/styling.md): - [Tooltip](https://felixluginbuhl.com/muiCharts/articles/tooltip.md):