Join Slack
Powered by
This message was deleted.
# help
s
Slackbot
04/25/2023, 10:33 AM
This message was deleted.
π 1
a
Ananya Roy
04/26/2023, 1:08 AM
Hi Sanzhar, If you are using the Plot library, you can use βtitleβ inside a mark to display a value on hover:
https://observablehq.com/@observablehq/plot-bar#cell-1005
. For a more responsive tooltip that can even be styled, use the addTooltips function with Plot:
https://observablehq.com/@mkfreeman/plot-tooltip#cell-64
Is this what you were looking for? On your second question about a chart that is a box with a single number in it, you could use Plot.cell to draw a single cell. You could also make a simple box with a bit of css and html. Both examples here:
https://observablehq.com/d/e5345e1f8a9855e7
ππ» 1
s
Sanzhar Yessengarayev
04/26/2023, 5:47 AM
Thanks Ananya, appreciate it :)
π 1
Open in Slack
Previous
Next