Hello,
I've been playing with the development version of Vega-Lite, particularly the layered charts. One thing I could not figure out how to do is add a rule line to a heatmap. For example, what layer should I create to add a vertical rule to this plot?
{
"data": {
},
"mark": "text", "encoding": {
"text": {"value": " "},
"row": {"field": "Origin"},
"column": {"field": "Cylinders"}, "color": {"aggregate": "average","field": "Miles_per_Gallon"}
},
"config": {"mark": {"applyColorToBackground": true}}
}
Any encoding I've tried with {... "mark": "rule" ...} as a layer results in an error.
Thanks!
Jake