I want to plot a sine wave while traversing the unit circle. I want to use it for educational purposes. The plot I want to have is similar to the one below:

![sinewave](https://i.stack.imgur.com/Jmz2k.gif)

Besides, I want x axis' tick labels to involve π/2, π, 3π/2, 2π. It may support some math I want to say.

How can I plot such a unit circle and a corresponding xy-plot using Javascript? Which library should I use? Could you provide a starting point?