All Projects → sveinn-steinarsson → Flot Downsample

sveinn-steinarsson / Flot Downsample

Downsample plugin for Flot charts.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Flot Downsample

Griddb
GridDB is a next-generation open source database that makes time series IoT and big data fast,and easy.
Stars: ✭ 1,587 (+753.23%)
Mutual labels:  time-series, timeseries
Simplestockanalysispython
Stock Analysis Tutorial in Python
Stars: ✭ 126 (-32.26%)
Mutual labels:  time-series, timeseries
Tsmoothie
A python library for time-series smoothing and outlier detection in a vectorized way.
Stars: ✭ 109 (-41.4%)
Mutual labels:  time-series, timeseries
Brein Time Utilities
Library which contains several time-dependent data and index structures (e.g., IntervalTree, BucketTimeSeries), as well as algorithms.
Stars: ✭ 94 (-49.46%)
Mutual labels:  time-series, timeseries
Java Timeseries
Time series analysis in Java
Stars: ✭ 155 (-16.67%)
Mutual labels:  time-series, timeseries
Stingray
Anything can happen in the next half hour (including spectral timing made easy)!
Stars: ✭ 94 (-49.46%)
Mutual labels:  time-series, timeseries
Kaggle Web Traffic
1st place solution
Stars: ✭ 1,641 (+782.26%)
Mutual labels:  time-series, timeseries
Kaggle Web Traffic Time Series Forecasting
Solution to Kaggle - Web Traffic Time Series Forecasting
Stars: ✭ 29 (-84.41%)
Mutual labels:  time-series, timeseries
Gorilla Tsc
Implementation of time series compression method from the Facebook's Gorilla paper
Stars: ✭ 147 (-20.97%)
Mutual labels:  time-series, timeseries
Sweep
Extending broom for time series forecasting
Stars: ✭ 143 (-23.12%)
Mutual labels:  time-series, timeseries
Timbala
Durable time-series database that's API-compatible with Prometheus.
Stars: ✭ 85 (-54.3%)
Mutual labels:  time-series, timeseries
Timesynth
A Multipurpose Library for Synthetic Time Series Generation in Python
Stars: ✭ 170 (-8.6%)
Mutual labels:  time-series, timeseries
Stl Decomp 4j
Java implementation of Seasonal-Trend-Loess time-series decomposition algorithm.
Stars: ✭ 75 (-59.68%)
Mutual labels:  time-series, timeseries
Doppelganger
[IMC 2020 (Best Paper Finalist)] Using GANs for Sharing Networked Time Series Data: Challenges, Initial Promise, and Open Questions
Stars: ✭ 97 (-47.85%)
Mutual labels:  time-series, timeseries
Neural prophet
NeuralProphet - A simple forecasting model based on Neural Networks in PyTorch
Stars: ✭ 1,125 (+504.84%)
Mutual labels:  time-series, timeseries
Tslearn
A machine learning toolkit dedicated to time-series data
Stars: ✭ 1,910 (+926.88%)
Mutual labels:  time-series, timeseries
Uplot
📈 A small, fast chart for time series, lines, areas, ohlc & bars
Stars: ✭ 6,808 (+3560.22%)
Mutual labels:  time-series, timeseries
Phildb
Timeseries database
Stars: ✭ 25 (-86.56%)
Mutual labels:  time-series, timeseries
Indicators.jl
Financial market technical analysis & indicators in Julia
Stars: ✭ 130 (-30.11%)
Mutual labels:  time-series, timeseries
Khiva
An open-source library of algorithms to analyse time series in GPU and CPU.
Stars: ✭ 161 (-13.44%)
Mutual labels:  time-series, timeseries

flot-downsample: Downsample plugin for Flot

This plugin for Flot charts downsamples data before rendering the chart. The purpose is to try retain the visual characteristics of the original line using considerably fewer data points. The algorithm (called Largest-Triangle-Three-Buckets or LTTB) used in this plugin is described in a Master's thesis (see hdl.handle.net/1946/15343) in Computer Science by Sveinn Steinarsson at the University of Iceland. The topic of the thesis is how to downsample time series for visual representation and was initially suggested by DataMarket. JavaScript optimization was done with the help of Borgar Þorsteinsson.

Demo

Demo can viewed at base.is/flot/.

Additional demo concerning chart resizing is also available at base.is/flot/resize/

Usage

series: {
  downsample: {
    threshold: 1000 // 0 disables downsampling for this series.
  }
}

Known limitations

  • Does not support gaps (null values) in the data array.
  • X-values must be in a strictly increasing order.

Articles related to the algorithm (LTTB)

The algorithm (LTTB) adapted for other programming languages or frameworks

Note: I have not tested all these versions and some might have different or additional features.

(Please let me know if you make your own port of the LTTB algorithm so I can list it here.)

License

flot-downsample is released under the terms of the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].