Closed jemus42 closed 9 years ago
aye. it's totally possible. and it's now officially on the TODO list! ETA is some time in early March. thx.
Thanks a lot!
As someone with no JavaScript skills at all, I greatly appreciate htmlwidgets like this <3
Latest release (0.6) should support continuous variable for the x axis. Will support categorical soon.
I was wondering if I could use non-date variables on the x axis for data that is inherently sequential, but not necessarily timestamped.
Take for example trakt.tv episode data (sorry for plugging my own package):
I was hoping to generate a stream of episodes, but since a variable that can be coerced to a date is expected, this
fails with
Error in as.Date.numeric(c(1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, : 'origin' must be supplied
I did try to use the episode airdates instead of the absolute episode number, but the result seems… weird. Example:
got %>% streamgraph("episode", "votes", "firstaired.posix", interpolate = "step")
Produces unevenly sized bars because of the irregularities in the airdates
I'm not sure if what I'm asking is even possible or meant to be possible within this package, but since I'm very happy about the possibilities this package presents, I thought this might be a low hanging fruit.