Implemented d3 graph