powered by
Build tooltip html function
tooltip_builder(type)
a tooltip type: 'basic' (i.e the variable value) or 'table'(i.e. a table with the variables names and value)