Hi
i have problem in drawing chart for my data with vega
my data is like this
{
"took": 10,
"timed_out": false,
"hits": {
"hits": [
{
"_index": "request_index",
"_id": "eaae227e-cf8f-411d-a8b3-0d66595d8730",
"_source": {
"creationDate": "2021-12-04T13:03:13.186Z",
"requests": [
{
"searchEngine": "Google",
"execTime": 235
},
{
"searchEngine": "Bing",
"execTime": 952
}
]
}
},
{
"_index": "request_index",
"_id": "ac03a6de-23af-4e2d-9315-a36a82ffd251",
"_source": {
"creationDate": "2021-11-04T13:03:13.186Z",
"requests": [
{
"searchEngine": "Yahoo",
"execTime": 75
},
{
"searchEngine": "Google",
"execTime": 145
},
{
"searchEngine": "Bing",
"execTime": 170
}
]
}
}
]
}
}
I want to draw bar chart for average of execTime per searchEngine like this
and also historical average for execTime and split charts by searchEngine
can anyone help me?