starting a d3 sine wave thing