ChickWeight %>%
dimple( x = c("Time", "Diet"), y = "weight", groups = "Diet", type = "bar" ) %>%
defaultColors( rainbow(10) )
ChickWeight %>%
dimple( x = c("Time", "Diet"), y = "weight", groups = "Diet", type = "bar" ) %>%
defaultColors( htmlwidgets::JS( 'd3.scale.category10()' ) )
Run the code above in your browser using DataLab