Turn a string of text into a d3 visualization