built first version of graph visualization in d3