Creates a histogram chart from word data