I would like to achieve this:
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"mark": {"type": "bar", "tooltip": true},
"encoding": {
"x": {"field": "Creative Type", "type": "nominal", "aggregate": null},
"y": {"field": "Creative Type", "type": "nominal", "aggregate": "count"}
I am passing the values from Python to vegalite. Since Python does not have a null keyword, I don't know how to set the value for aggregate as null in the x axis. Any help is greatly appreciated. Thank you!
Equivalent of null keyword in Python will be None. Please check if that works.