I have the following script which works, but has one annoying issue:
Put the script at the bottom of the HTML file. This won't do a loading screen, but this will prevent the browser from blocking while the chart loads.
To get a loading effect, Google's Charts will overwrite the innerHTML of the div
you're pointing it to, so you can keep a loading message in there (in whatever format you desire) and it will get overwritten when the chart loads.