score:1

i suggest and alternate method for plotting a million datapoints, plotly offers webgl for plotting this. get to know more about this by clicking here.

so i have implemented a solution for your case. but there is a minor predicament, when i plot, the actual data provided, all i get is a single line of markers, i checked and its due to plotly being unable to handle this large number of digits.

to handle this. we need to reduce the number length after the decimal from 16 to 9, then the data is getting plotted properly.

so the number 1439856801592000.0 should be reduced to 801592000.0, then i am getting the desired solution.

please refer the below codepen, which implements scattergl, try it out and let me know if this solves your problem!

codepen demo


Related Query

More Query from same tag