Black Lives Matter. Please consider donating to Black Girls Code today.

Trace values in Hover - Coinmarketcap style

Hi, how coinmarketcap does its hover: when putting the cursor on the graph, it shows a hover with the trace elements. Thxs

see link: https://coinmarketcap.com/charts/

You should be able to do using the text or hovertext attribute in your scatter traces.

See example here: https://plot.ly/javascript/hover-text-and-formatting/#adding-hover-text-to-data-in-line-and-scatter-plots