Creating charts in HTML5 using flotr2 plugins