powered by
Manually assign colors
c3_color(c3, colors)
c3 htmlwidget object
character vector of colors
c3
# NOT RUN { data.frame(a = c(1,2,3,2), b = c(2,4,1,5)) %>% c3() %>% c3_color(c('red','black')) # }
Run the code above in your browser using DataLab