double sided FFT
This visualization demonstrates the results of a Fast Fourier Transform (FFT) applied to real-world wind data from a CSAT3 sonic anemometer, specifically the vertical wind component (Uy_1). It plots signal amplitude against frequency, revealing the dominant frequency peaks of the underlying sine wave patterns. The example uses a custom `FourierTransform` function to decompose the time-series data, then renders the results as a line chart with D3.js (v7.9.0). The `viz.js` module uses `scaleLinear`, `line`, and `extent` from D3 to create a line path, with axes and labels handled by the `@drbagwell/responsive-viz-axes` library. The data is visualized through a simple line mark, with a grey inner plot area and circular data points.
AI-generated descriptionOverview Time to dabble with the infamous FFT in javascript. Anyone consider themselves a Subject Matter Exper (SME) please feel free to offer up advice, tips etc. Goal is to generate a 80hz sine wave as test data. then perform a FFT, and power spectrum, and display results of all.