Htmlwidget for apexcharts.js : A modern JavaScript charting library to build interactive charts and visualizations with simple API.

Travis build status Lifecycle: maturing

⚠️ Use RStudio >= 1.2 to properly display charts

Note: Once again, development is heavily inspired by amazing highcharter.

Installation

You can install the development version from GitHub with:

Quick Charts

Use apex function to quickly create visualizations :

library(apexcharter)

data("mpg", package = "ggplot2")
n_manufac <- dplyr::count(mpg, manufacturer)

apex(data = n_manufac, type = "bar", mapping = aes(x = manufacturer, y = n))

With datetime:

data("economics", package = "ggplot2")
apex(data = economics, type = "line", mapping = aes(x = date, y = uempmed)) %>% 
  ax_stroke(width = 1)

Full API

All methods from ApexCharts are available with function like ax_* compatible with pipe from magrittr :