Updated D3 library to latest version 3

Updated the d3 library to the latest v3 just because I was going to use this in a presentation and noticed it was still using the version 2.x branch and thought it would be fine to push this change back to the mainline.