View source: R/palette_accessibility.R
vangogh_export | R Documentation |
Export palettes to JSON or CSV
vangogh_export(
file,
format = c("json", "csv"),
n = NULL,
type = "discrete",
add_metadata = FALSE
)
file |
File path including filename |
format |
"json" or "csv" |
n |
Number of colors (for continuous palettes) |
type |
"discrete" or "continuous" |
add_metadata |
Logical: include HCL metadata if available |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.