Hello!!
I have found that not all Multi-View Displays, such as Faceting (Trellis Plot / Small Multiples), work properly in Kibana Vega. To be more specific, for example I am running the following code in vega visualization in Kibana:
{ "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"name": "trellis_barley","data": {"url": "https://vega.github.io/editor/data/barley.json"},
"mark": "point",
"height": {"step": 12},
"encoding": {
"facet": { "field": "site", "type": "ordinal", "columns": 2, "sort": {"op": "median", "field": "yield"} }, "x": { "aggregate": "median", "field": "yield", "type": "quantitative", "scale": {"zero": false} }, "y": { "field": "variety", "type": "ordinal", "sort": "-x" }, "color": {"field": "year", "type": "nominal"} }
}
The facet operator also doesn't work in Kibana Vega, but in the online vega editor works perfectly.
Please look the following screenshots.
1. Screenshot from kibana vega:
2. Screenshot from online vega editor:
Have you any idea how can I fix it?
Thank you very much.