a frequency graph component to visualise wave data