timeline - FFT decomposition
This interactive D3.js v4 visualization demonstrates how a timeline can be decomposed into its constituent frequencies using a Fast Fourier Transform (FFT). Users can drag and drop data points in the top graph to modify the time series, or use shortcuts to adjust seasonality period, seasonal magnitude, and trend. The FFT algorithm, implemented from Rosetta Code's JavaScript version, calculates frequency components displayed as bars in a lower panel. Clicking components applies an inverse FFT to reconstruct a filtered timeline, showing which frequencies contribute to the original signal.
AI-generated description<a href='http://bl.ocks.org/Kcnarf/7ed4e839914c974a316db885ede71516'>This block</a> is an experimentation of how to decompose a timeline thanks to an Fast Fourier Transform (FFT) algorithm.
Usages :
- in the top graph, Drag & Drop points to update the timeline, or use the shortcuts below the graph
Notes:
I've done other bl.ocks dealing with timeline analyses:
- another <a href='http://bl.ocks.org/Kcnarf/5118ba2eb78edfcf645e'>block</a> highlights how important detrending is when trying to detect seasonality
- another <a href='http://bl.ocks.org/Kcnarf/8c462789ffbb04351a11'>block</a> experiments seasonality detection
- another <a href='http://bl.ocks.org/Kcnarf/89e1e69c888e8241ed92'>block</a> experiments autocorrelation
- another <a href='http://bl.ocks.org/Kcnarf/1e6da47724c39156adb3'>block</a> experiments time series correlation
- another <a href='http://bl.ocks.org/Kcnarf/0a8fe1caa2ac025c8e86'>block</a> deals with the impact of seasonality when computing the trend of a timeline