Questions tagged [r-highcharter]

Questions related to the usage of the Highcharts JavaScript library in R.

Highcharter is a R wrapper for the javascript library which is a charting library offering numerous interactive chart types such as line, area, bar, pie, scatter, bubble, gauge, polar charts.

Links:

Vignettes

533 questions
3
votes
2 answers

Two pies in the same graph - Highcharter

I am trying to reproduce the following example of two pies in the same highchart graph with no success. An example code below. Does any one knows how to create two charts in the same chart in highcharter? df = tibble(name = c("a","b","c"), …
Bruno Guarita
  • 767
  • 10
  • 21
3
votes
1 answer

How can I change the scale of the legend in highcharter in R?

Here is some open source code from the highcharter package website that details how to load in a map using hcmap. library(highcharter) # produces the following map inline hcmap("countries/us/us-all", data = data_fake, value = "value", joinBy…
Trent
  • 771
  • 5
  • 19
3
votes
1 answer

how to create two independent drill down plot using Highcharter?

I'm working on shiny app that contains two drill down charts, both read from same data file the only difference is the first chart excute summation, while the second one gets averages, the issue is whatever the change I make both charts still…
John Smith
  • 278
  • 2
  • 10
3
votes
2 answers

How to do a semi circle donut with highcharter library?

I'm trying to do a semi circle donut with highcharter library but I only know how to do a pie chart. I know that with JS you can do it by adding "startAngle" and "endAngle" but I want to know how to do it with R: A <- c("a", "b", "c", "d") B <- c(4,…
Angela
  • 39
  • 2
3
votes
2 answers

How to build an Organization Chart with highcharter

I want to plot an organization chart with highcharter (or, optionally, with another R highchart plotting library). I know that there are already some questions about that topic but they seem outdated since highchart now offers the possibility of…
mnist
  • 6,571
  • 1
  • 18
  • 41
3
votes
0 answers

Highcharter linked map and line plot

How can I create an htmlwidget in R that links spatial points to a line plot (i.e. - on click of a point on the map, a line plot is drawn)? To the best of my knowledge, in R one of the only ways to link an interactive HTML map to a line plot is via…
Rich Pauloo
  • 7,734
  • 4
  • 37
  • 69
3
votes
1 answer

Formatting datetime in Highcharter tooltip

Looking to change the format of the datetime in the tooltip. I successfully did it for the x-axis but have not for the tooltip. I've read the docs and cannot find another R-specific topic on this. Dates are in the required Highchart timestamp from…
AngryWhopper
  • 393
  • 3
  • 4
  • 16
3
votes
0 answers

How to specify hc_plotOptions() to a specific layer (levels) when using hctreemap2 function within highcharter package R

I'm trying to setup a treemap with three levels, using hctreemap2 function. I wanted to embed a hyperlink href when user clicked through at the very last layer(level). Unlike the typical highchart() %>% hc_add_series(type = "treemap"), which is a…
Chee Teoh
  • 31
  • 1
3
votes
2 answers

Create highchart density with more than 2 groups

I tried to create highchart density with more than two groups. I found a way to add them one by one manually but there must be a better way to handle groups. Examples: I would like to create a highchart similar to ggplot chart below without adding…
southwind
  • 636
  • 4
  • 15
3
votes
1 answer

HighcharteR: plotband and plotline not working

I am trying to chart a daily value series in highcharteR marking a vertical line (plotline) and a period of dates (plotband) in the chart. I researched several SO question and reach this script, but I found the following issues: 1) plotband not…
COLO
  • 1,024
  • 16
  • 28
3
votes
1 answer

Interactive duration plot

I have samples and duration. library(lubridate) daf <- data.frame(sample=c("m","k","c","b"),duration=ddays(c(4,2,1,3))) daf$start <- Sys.time()-daf$duration > head(daf) sample duration start 1 m 345600s (~4 days)…
mindlessgreen
  • 11,059
  • 16
  • 68
  • 113
3
votes
1 answer

developing interactive app using shiny and highcharter

I'm trying to make a simple app with R using shiny that only has a highchart changing with the given parameter through slidebar. I've looked through web, but there aren't any clear tutorial or simple example that I can compare my code with it. So…
Kimia H.
  • 33
  • 1
  • 3
3
votes
0 answers

HighcharterR, Variable from R DataFrame in Tooltip

I have got a data.frame which is created with the following code. The variable "Kreationen" contains links to different videos. df <- rawdata %>% mutate(Euro = as.numeric(Euro)) %>% group_by(Firma, Marke, Kreationen, Mediengruppe) %>% …
user7353167
3
votes
1 answer

Use highcharter inside a function

How do I use highcharter::hchart inside a function? Here is a simple line graph using the hchart function. library(tidyverse) library(lubridate) library(highcharter) library(nycflights13) flights_2 <- flights %>% mutate(dep_mo = ymd(str_c(year,…
jordan
  • 388
  • 3
  • 14
3
votes
1 answer

Drilldown United states city/county map from states using highcharter

I have two data sets df_state and df_city. df_state has a summed up of a numeric value(net_value_x). df_city has a break down of the numeric value(value_x) at city level This is just a sample for the sate Texas: df_state: state_abb,…
Harish
  • 285
  • 7
  • 20
1 2
3
35 36