TufteGraph is a jQuery plugin that allow us to create standard & bar charts. It is different from other javascript charting libraries because, TufteGraph is configurable and it has dynamic functions, allowing for a really compact API (very few options and non-core layout is done via CSS rather than code.

You need to be using jQuery and also the jQuery enumerable plugin. By default your graph won’t be that pretty because it needs to be styled. I recommend tufte-graph.css as a good starting point.