I want to add a trace in the graph using client side java script code.
I have a graph with some data on x and y axis. I want to read the data and perform some calculation like average and plot this as a trace on client side everything using JS.
Is it possible to do so and is it a good way to move forward?
This particular graph has many traces which are based on heavy calculation. If i do it on server side there will be too much data to-and-fro. It will take around a minute to render.
To avoid this I just want to do it on server side.
It is a simple calculation which can be handled by browser and just a trace in the graph.