Prevent D3 graph from freaking out on initial load

This commit adds a for loop to force tick the graph before loading and
showing the user. This makes the graph not freak out completely and look
like crap.