Options to compare two (or more) scatter traces based percentage change


I am building a Plotly Python chart that shows a few stock market symbol prices on a chart. Very straight forward scatter chart.

Is there any feature in Plotly that allows me to show traces based on percentage change like the chart shown below:

Thank you,


I donโ€™t think such functionality exists on Plotly as built-in.

If you want the percentage change with respect to a specific point in time, then it is possible to rescale the timeseries in pandas. That said, I imagine you wish something like in TradingView, where the baseline is set to the first visible value and that might be very hard to do with plotly (AFAIK at least).