Generates d3 graphs from node.js