score:9

Accepted answer

hchartis a generic function which work with histogram classes too. try following:

library(highcharter)
data(diamonds, package = "ggplot2")

h <- hist(diamonds$price, plot = false)
hchart(h)


h2 <- hist(diamonds$price, breaks = 100, plot = false)
hchart(h2)

so, you can create the histogram what you want using the base hist function, then you can chart it with highcharter.


Related Query

More Query from same tag