Learn R Programming

vegalite (version 0.6.1)

scale_color_sequential: Sequential Color Scale

Description

Sequential Color Scale

Usage

scale_color_sequential(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