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

Comparing one or more time series

Suppose I want to plot a dataframe of say 5 time series values. But the data scales are different. One has small values near zero, the other with values in thousands. How does one rescale the data. Also Suppose I want the hover to reflect the values of the data not the new values computed as in this package Here. How can I be able to acomplish such a task

The easiest way to do this would be to scale your y coordinates yourself e.g.

var ys = => v / scale)

and then make:

text: y,
hoverinfo: 'x+text'

in each of the traces to show the original y values in the hover labels.