Ship initial data in the html for graphs.

This drastically improves load time for pages with large graphs, though it makes the DOM look kind of ugly.