I am trying to add some custom text to a tooltip based on this documentation.
Using penguins I am uncertain how to retain that nice little coloured box that comes by default. Somehow I seem to lose it when I change the text. The notebook is here: Tooltips / Sam Albers | Observable
Yes. Currently the only way to have this color swatch is to use the default channels as tip contents, and not the title. You can however add more channels to the tip, like so:
I forgot to mention that you can give the channel any name you want (provided the accessor is not a string which would create a label… ah, defaults and priorities):