How to plot ~10 billion datapoint time series efficiently?

You probably want to downsample your data before plotting.

The thesis “Downsampling Time Series for Visual Representation” by Sveinn Steinarsson investigates different visaually pleasing subsampling strategies (see here).
If I remeber correctly the “Largest Triangle Three Bucket” (LTTB) algorithm is recommended.

Unfortunately, I could only find implementations in java and python

See here from @stevengj repley below.

1 Like