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.