The Visualization API can't be used (yet) in Google Apps Script for now on (due to caja sanitization in the HTML Service).
You can use the Charts Service in Apps Script but it let us use only a small subset of the viz API. -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/groups/opt_out.
