observablehq / plot

A concise API for exploratory data visualization implementing a layered grammar of graphics
https://observablehq.com/plot/
ISC License
4.16k stars 171 forks source link

Tooltip: mouseover information is output from the display #2068

Closed XavierBaume closed 2 months ago

XavierBaume commented 2 months ago

When I move the mouse over an element to the right of the heatmap, the information is removed from the view. I haven't managed to find any relevant code to counter this problem.

The visualisation is available at the following link: https://observablehq.com/d/8fe20474cd096a25

Capture d’écran 2024-05-28 à 17 02 40
mbostock commented 2 months ago

The notebook you linked to is using D3, not Plot. We recommend switching to Observable Plot so that you can use Plot’s tip mark.