plot icon indicating copy to clipboard operation
plot copied to clipboard

Tooltips (e.g., for a scatterplot, or for a multi-line chart)?

Open mbostock opened this issue 4 years ago • 4 comments

Related #4 which talks more generically about pointer interaction.

mbostock avatar Feb 24 '21 21:02 mbostock

Brainstorming thoughts:

  • HTML and/or SVG?
  • Hoist/Portal the tooltip out into parent elements or body?
  • Plot inside of the tooltip to create table-like lists with the same x/y/color/size encodings?
  • Create multiple, detached tooltips (imagine a textY anchored to each y value in a series along a hovered date)
  • Animation would be 😍 It could be done manually at the very least if the right abstractions/inversions-of-control are supplied

tannerlinsley avatar Jun 25 '21 03:06 tannerlinsley

Those are great ideas @tannerlinsley

derekperkins avatar Jun 25 '21 21:06 derekperkins

I'm increasingly building visualizations and dashboard that are intended for mobile screens, so something that makes titles Just Work there (presumably through tap events) would be fantastic.

simonw avatar Aug 24 '21 03:08 simonw

Would love to have tooltips! I've been using https://github.com/observablehq/plot/issues/4#issuecomment-823952456.

reubano avatar Apr 26 '22 00:04 reubano

This is close enough to #4 that I’m going to combine the issues to consolidate discussion. Progress is happening!

mbostock avatar Mar 01 '23 19:03 mbostock