scale_color_nominal {vegalite}R Documentation

Nominal Color Scale

Description

Nominal Color Scale

Usage

scale_color_nominal(vl, domain = NULL, range = NULL)

Arguments

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.

References

Vega-Lite Scales spec


[Package vegalite version 0.6.1 Index]