In this example: https://vega.github.io/vega-lite/examples/interactive_multi_line_pivot_tooltip.html
They use a pivot transform & then statically write down each value for the field symbol as a tooltip field.
"tooltip": [
{"field": "AAPL", "type": "quantitative"},
{"field": "AMZN", "type": "quantitative"},
{"field": "GOOG", "type": "quantitative"},
{"field": "IBM", "type": "quantitative"},
{"field": "MSFT", "type": "quantitative"}
]
Say i didn't know the actual values in my dataset, how would i dynamically generate the same tooltip?