Description Usage Arguments References
Nominal Color Scale
1 | scale_color_nominal(vl, domain = NULL, range = NULL)
|
vl |
Vega-Lite object |
domain |
Custom domain values. For quantitative data, this can take the form of a two-element array with minimum and maximum values. |
range |
The range of the scale represents the set of output visual values. Vega-Lite automatically determines appropriate range based on the scale’s channel and type, but range property can be provided to customize range values. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.