Example showing how to plot a sin function using flot library.