Creating a Donut Chart in R using Highcharts

I am trying to create a donut chart with some interactive-ness in R. I have achieved a pie chart like below: highchart() %>% hc_add_series(type = "pie", data = age, hcaes(Age, Mean_percentage_viewed), size = "60%", name = "Mean Percentage viewed", center = c(50, 50), dataLabels = list(distance = -50, formatter = JS("function () { return this.y… Read More Creating a Donut Chart in R using Highcharts

Incorrect legend color shown on Highchart horizontal bar plot

I am working on a horizontal bar plot for some visualizations using the highcharter library in R. However, I see that the legends are not shown according to the color scheme defined by the group variable. library(highcharter) library(tidyverse) df%>% group_by(course_code) %>% hchart("bar", hcaes(x = course_code, y = completion_rate, color = Language, group = Language)) %>%… Read More Incorrect legend color shown on Highchart horizontal bar plot

Error while downloading "highcharter" package in r

I am trying to download "highcharter" but got the error below. I also tried installing "rjson" but I got "package ‘rjson’ is not available (for R version 3.6.3)" message ERROR: dependency ‘rjson’ is not available for package ‘highcharter’ * removing ‘C:/Users/elif.gencaslan/Documents/R/win-library/3.6/highcharter’ Warning in install.packages : installation of package ‘highcharter’ had non-zero exit status >Solution :… Read More Error while downloading "highcharter" package in r