{highcharter}

The highcharter R package is a wrapper for the Highcharts JavaScript library.

It provides an interface to create interactive charts and visualizations in R. With highcharter, you can easily plot various R objects, including data frames, numeric vectors, time series, and more.

The package supports Highstock charts, choropleths, and offers themes for customization. If you’re interested in data visualization, highcharter is a powerful tool to explore!


References

  1. A Wrapper for the Highcharts Library • highcharter. https://jkunst.com/highcharter/.
  2. Data Visualization with Highcharter in R - GeeksforGeeks. https://www.geeksforgeeks.org/data-visualization-with-highcharter-in-r/.
  3. Highcharter R Package Essentials for Easy Interactive Graphs. https://www.datanovia.com/en/courses/highcharter-r-package-essentials-for-easy-interactive-graphs/.
  4. R Highcharter for Highcharts Data Visualization | DataCamp. https://www.datacamp.com/tutorial/data-visualization-highcharter-r.
  5. highcharter package - RDocumentation. https://www.rdocumentation.org/packages/highcharter/versions/0.9.4.
  6. undefined. https://bing.com/search?q=.
  7. undefined. https://newsletter.highcharts.com/foss/.
  8. undefined. https://www.highcharts.com/.

Adding chart options to highchart objects

library(highcharter)

Description

Options regarding the chart area and plot area as well as general chart options.

Usage


hc_chart(hc, ...)

Arguments

Examples

data(citytemp)
head(citytemp)
## # A tibble: 6 x 5
##   month tokyo new_york berlin london
##   <fct> <dbl>    <dbl>  <dbl>  <dbl>
## 1 Jan     7       -0.2   -0.9    3.9
## 2 Feb     6.9      0.8    0.6    4.2
## 3 Mar     9.5      5.7    3.5    5.7
## 4 Apr    14.5     11.3    8.4    8.5
## 5 May    18.2     17     13.5   11.9
## 6 Jun    21.5     22     17     15.2
hc <- highchart() %>%
hc_xAxis(categories = citytemp$month) %>%
hc_add_series(name = "Tokyo", data = citytemp$tokyo) %>%
hc_add_series(name = "London", data = citytemp$london)
hc
hc %>%
hc_chart(type = "column",
options3d = list(enabled = TRUE, beta = 15, alpha = 15))
hc %>%
hc_chart(borderColor = '#EBBA95',
 borderRadius = 10,
 borderWidth = 2,
 backgroundColor = list(
   linearGradient = c(0, 0, 500, 500),
     stops = list(
        list(0, 'rgb(255, 255, 255)'),
        list(1, 'rgb(200, 200, 255)')
 )
 )
 )