As far as I know the Google bot will index text inside of inline SVG, this has been answered already. However I don't know this applies to text that was generated through JavaScript.
Here is an example: http://jsbin.com/ruhizorufe/edit?html,js,output
Will the text of the word cloud be indexed?