If a circuit produced a perfect sine wave, there would be no harmonics ... video showing how he easily visualizes THD using LTSpice. Assuming you already have the system in question in LTSpice ...
On the LTSpice toolbar, there is an icon that reads ... AC amplitude of 10 V (used in the .AC analysis) and it also is a sine wave of 10 V at 1000 Hz (utilized in the .TRANS analysis).