Optional
domainThe name of a column in the data table to be encoded.
Optional
rangeOptional
transformA transformation to apply on the field. 'literal' maps in the implied dataspace set by 'x', 'y', while 'linear' transforms the data by the range and domain.
Generated using TypeDoc
A channel represents the information necessary to map a single dimension (x, y, color, jitter, etc.) from dataspace to a visual encoding. It is used to construct a scale and to pass any other necessary information to assist in converting tabular data to visual representation. In some cases it is a scale; in others it is parameters used to define a function on the GPU.
The names and design are taken largely from channels as defined in Vega-Lite, but the syntax differs for a number of operations. https://vega.github.io/vega-lite/docs/encoding.html