A Vega-lite scatterplot example for vega-tooltip. You can specify the limited sets of field to display in tooltip by setting showAllFields
to false, then specify those in fields
array. You can also rename the field by specifying title
https://cdn.jsdelivr.net/npm/vega@3
https://cdn.jsdelivr.net/npm/vega-lite@2
https://cdn.jsdelivr.net/npm/vega-embed@3
https://cdn.jsdelivr.net/npm/vega-tooltip@0