tooltip or title that will work in mobile browsers

Hello All,

Are there currently any options that will let me make my "title"s work in mobile browser? For instance, in the following graph, each bar has a title that is visible on hover, but only on desktop browsers. I have seen some add tooltip options which are thrice the length of the .plot codes. Are there any other options? For PLOT, I mean?

Thanks in advance,
Rini

https://observablehq.com/@rbhttchr/moretti-british-novel-genres

1 Like

Mike Freeman’s Plot Tooltip was built to yield better tooltips in plot, and it works well for mobile:

3 Likes

Thanks, Mark! I have been able to implement it on a test code. Worked perfectly. And I love the options for customizing the hover. Thanks Mark Freeman for developing it!

Further comment: I think I am going to end up with tinkering around Fil’s original tooltip here (https://observablehq.com/@fil/experimental-plot-tooltip-01). That has a lot more features that I can use.