Learn R Programming

c3 (version 0.3.2)

c3_viridis: Viridis Palette

Description

Use Viridis palette options

Usage

c3_viridis(c3, pal = "D")

Value

c3

Arguments

c3

c3 htmlwidget object

pal

character palette options

Examples

Run this code
data.frame(a = c(1,2,3,2), b = c(2,4,1,5)) %>%
  c3() %>%
  c3_viridis()

Run the code above in your browser using DataLab