Description Usage Arguments Value Examples
DELFI Diagnostics visual identity palette generator
1 | delfi_palette(name, n, type = c("discrete", "continuous"))
|
name |
(str) Name of desired palette. Choices currently are:
|
n |
(int) Number of colors returned, up to per-palette max (if n >= max, returns all). |
type |
(str) One of |
A vector of colors.
1 2 3 4 5 | delfi_palette("Diverging")
delfi_palette("Categorical", 3)
# If you need more colours than normally found in a palette, you
# can use type="continuous" to interpolate between existing colors
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.