Want to do a line chart with d3? There are no ready APIs right? At least none that I could find. What I did find was http://benjchristensen.com/2012/05/02/line-graphs-using-d3-js/ (very useful!) and I hacked up a line chart taking cue from there. Here’s an example: And the code? <!DOCTYPE html> <html lang="en"> <head> <title>Line Charts</title> <script src="http://code.jquery.com/jquery-1.8.2.min.
![Line Charts with d3 js](https://cdn-ak-scissors.b.st-hatena.com/image/square/368f414df0798bc13a1583b9c104a903bfe1d425/height=288;version=1;width=512/https%3A%2F%2Faishwaryasinghal.wordpress.com%2Fwp-content%2Fuploads%2F2012%2F11%2Flinechart.png%3Fw%3D300)