Encoding¶
The encoding object specifies how variables of the data are mapped to different visual properties (channels) of the graphical marks.
TODO
// Specification of a Single View
{
"data": ... ,
"mark": ... ,
"encoding": { // Encoding
// Position Channels
"x": ...,
"y": ...,
"x2": ...,
"y2": ...,
// Mark Properties Channels
"color": ...,
"opacity": ...,
"strokeWidth": ...,
"size": ...,
"shape": ...,
},
...
}
Position channels¶
TODO
Mark property channels¶
TODO
Fields¶
TODO
Expressions¶
TODO
Values¶
TODO
Genomic coordinates¶
TODO