In Vegalite for tooltip, how to set data value as Title
When i set data field in the title it does not work, below is code snippet
"tooltip": [
{
"field" : "xToolTip",
"title" : "xName"
}
where xName is data attribute
Just don't set a title at all and the title will be the name of the field in your dataset.