OptionalstatName of a dataset registered with map.stat(name, config).
OptionalstatsNames of datasets for multi-stat encodings such as bivariate color.
OptionalbyWhether the encoding is based on raw values or category codes.
OptionaltypeEncoding type.
OptionalscaleScale type.
OptionalrangeNumeric or color output range.
OptionalvaluesExplicit encoded values, for example category colors.
OptionallabelsLabels keyed by category code or value.
OptionalcategoryCategory codes when using array-based values or labels.
OptionalclassesNumber of classes for classified encodings.
OptionalthresholdsThreshold values for threshold encodings.
OptionalschemeColor scheme name or function.
OptionalunitOptional unit override for this encoding.
Configuration for mapping a named stat dataset to a visual channel.