Finish graph and d3