Generate HTML for word cloud