This question already has an answer here:
I would like to visualize the harmonics of a Fourier series in 3D, like on this picture:
Is it possible to do this in Mathematica? Ofc. I know how to create basic 2D plots, but I would like to combine them in 3D to visualize the time and frequency domain at the same time.