I think it is a security issue and the solutions offered by Daniel should work.
I copied the code into Adobe DreamWeaver. That's got a lightweight browser that doesn't care about XSS or practically any other security issues. The code as written works!
I changed the code slightly from:
wrap.setContainerId('visualization');
wrap.setQuery('SELECT A,D WHERE D > 100 ORDER BY D');
to my own spreadsheet:
wrap.setContainerId('visualization');
wrap.setQuery('SELECT A,F WHERE F > 100 ORDER BY A');
Code as written in Dreamweaver: