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

3 Million Point Graph

I have a sql database with about 3 million entries for my graph. i hear plotly can handle this? i use Scattergl but when i try to plot the graph it just freezes. i do use dash and flask. is this a dash or flask issue? sorry im just a beginner im trying to figure out where to start to solve this problem.

all database problems aside. anything wrong with plotting a 350MB file?

Sorry if my question is bad im just a beginner trying to find some guidance

3 million points is probably more than Plotly.js can handle unfortunately. I would recommend trying something like Datashader in conjunction with Plotly: https://plotly.com/python/datashader/

1 Like