Open yhoonkim opened 1 year ago
{ "$schema": "https://vega.github.io/schema/vega-lite/v5.json", "data": { "values": [ {"val2": 1, "val1": 0.9}, {"val2": 2, "val1": 1.1}, {"val2": 3, "val1": null}, ] }, "mark": "bar", "encoding": { "y": {"field": "val2", "type": "quantitative"}, "color": {"field": "val1", "type": "quantitative"}, "order": {"field": "val1", "type": "quantitative"} } }
Since there is no null color, it is fair not to visualize. Though, the empty space is confusing for readers who may not know why it is empty by looking at the viz.
null
What do you think is the right answer? The current behavior seems reasonable although a bit surprising.
Since there is no
null
color, it is fair not to visualize. Though, the empty space is confusing for readers who may not know why it is empty by looking at the viz.