Decimation

Interactive uPlot-versus-library comparisons: LTTB, averaging, grouping, and min/max alternatives.

These examples illustrate the LTTB limitations discussed in #1025.

The green uPlot reference charts use all 10,002 input samples with the default linear pathbuilder. Its pixel-column min/max decimation retains both the +100 and -100 spikes.

In the uniform example, the spikes are five samples apart. In the non-uniform example, 9,981 samples occupy the first 10% of the x range.

The static comparisons below demonstrate LTTB losses with the native ECharts and Chart.js implementations. No uPlot chart uses LTTB, and this demo contains no custom LTTB implementation. This compares visible features, not equal output sizes or execution times.