Chartist.js for R, powered by htmlwidgets. Github repo is here: https://github.com/yutannihilation/chartist
library(chartist)
set.seed(324)
data <- data.frame(
day = paste0("day", 1:10),
A = runif(10, 0, 10),
B = runif(10, 0, 10),
C = runif(10, 0, 10),
stringsAsFactors = FALSE
)
This is a cheat just to check if Chartist.SVG.animate() works. I have to implement SVG_animate with proper parameters.
chartist(data, day) + Line() + SVG_animate()