golang implementation of word frequency visualization functions designed for wordcloud2.js