hello,
i want to Create a bar visualisation with vega lite , i'm writing this code but no data showing in the visualisation.
`
{
"$schema": "https://vega.github.io/schema/vega-lite/v2.json ",
"data":
{
"url": {
"%context%": true,
"index": "index-name"
},
},
"mark": "bar",
"encoding":
{
"x":
{
"field": "new_date",
"type": "temporal"
},
"y":
{
"field":"surv5",
"aggregate": "sum",
"type": "nominal"
}
}
}
`
any help ?
thanks.
myasonik
(Michail Yasonik)
October 5, 2020, 4:36pm
2
Hey @suibgui !
From the config you posted, I don't see anything immediately wrong but if you haven't seen, maybe comparing with our guide can help you get something working. https://www.elastic.co/guide/en/kibana/current/vega-lite-tutorial.html
Also covered in that guide are some debugging steps so hopefully those can help get your visualization working!
1 Like
system
(system)
Closed
November 3, 2020, 9:15am
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.