Sample code for FFT work on Google Analytics. PHP, d3js.