fixed dependency from d3 node module

Now that d3 version 3 is on npm, the dependency can be fixed