Explicitly wait for d3 to load before running view