An example of d3.js to plot the witch of Agnesi. Move the mouse over the plot to see the animation. Inspired by google's doodle on the 16th of May 2014.
This example demonstrate how to plot the witch of agnesi using [d3][] as explained by wikipedia.
The curve has Cartesian equation
y = \frac{8 r^3}{x^2 + 4 r^2}Code available here.