This week's book giveaway is in the Design forum. We're giving away four copies of Experimentation for Engineers: From A/B testing to Bayesian optimization and have David Sweet on-line! See this thread for details.
jQuery is not a charting package. It's like asking how to butter your toast with a coffee cup. You should check out charting packages. I've used HighCharts.com successful in a few projects; you might to check to see if it supports the types of charts you are after.