Remove d3 dependency

We aren't really going to use d3 later, so might as well just use
jQuery.
Add d3 dependency for nice graphics
Merge pull request #2 from zhelu/master

Add d3 for graphics