Apart from the loader.js and a div to hold the chart, this will work:
Are you testing the code from a local file on your computer? That will give you a "Request timed out" timed out message and that's due to your browser's CORS (Cross-Origin Resource Sharing) policy. For most browsers you can see what is going on by going onto developer mode by pressing F12 or Ctrl + Shift + i or Ctrl + shift + j.
In Chrome you will see a message similar to this
Your HTML file will need to be uploaded to a web server to work.
I use Dreamweaver and the preview in that shows this, so everything else looks fine.