I copied one of the d3 examples into an html file to demonstrate how javascript can load the remote d3.js file, and run it. this is how you can use it. now try and mess around with d3 like this, making simple graphs