Romain Vialard, Oct 2012
This library provides one single method to create an HTML Word Cloud from a text input.
You can also use this library outside of Apps Script: This Word Cloud Creator is available as a REST API and a Web Application.
Web Application: https://script.google.com/macros/s/AKfycbzpzsbEg5fbN0IIgRMtY_dgVACATC0P00xDfNVYpn162jbLyF23/exec
REST API: send an HTTP post request to the url above, with the text you want and you will get the HTML code of the corresponding word cloud in return.
The code below read the first 100 conversations in your Gmail Inbox, create a word cloud out of them and send it to you by email.