Highcharter is a R wrapper for Highcharts javascript library and its modules. Highcharts is very flexible and customizable javascript charting library and it has a great and powerful API.
highcharter brings the Highcharts JavaScript library to R through an htmlwidget, making its interactive charts, maps, stock charts and customization options available through an R-friendly interface.
The main features of highcharter are:
hchart(x) you can
chart data.frames, numeric or character vectors, ts,
xts, forecast, survfit objects.xts class from the {quantmod} package.geojson format.CRAN version:
install.packages("highcharter")
Development version:
# remotes::install_github("jbkunst/highcharter")
install.packages("highcharter", repos = c('https://jbkunst.r-universe.dev', 'https://cloud.r-project.org'))
There are a lot of vignettes to show how highcharter works and what you can do:
vignette("highcharter") to explore the basics of the package.vignette("first-steps") to know how to make a visualization from a data frame.vignette("showcase") to see highcharts flexibility in terms of
customization and design.vignette("highcharts-api") show the main functions to configure charts with
the implemented Highcharts API.vignette("highchartsjs-api-basics") explain the relationship between the
highchartsJS API and highcharter.Highcharter has a dependency on Highcharts, a commercial JavaScript charting library. Highcharts offers both a commercial license as well as a free non-commercial license. Please review the licensing options and terms before using this software, as the highcharter license neither provides nor implies a license for Highcharts.
Highcharts (https://highcharts.com) is a Highsoft product which is not free for commercial and Governmental use.