Any ideas on creating a Word Cloud?

I’d like to create give users the ability to create a Wordcloud using Wix, and have only a vague idea of how this can be accomplished.

For example, users from various locations enter words into an input text field, those words get placed inside a Dataset, and then a code is run which counts the number of times the same word appears. I know so far this should be possible, but then is there any way to set up a repeater to display the words and then dynamically increase the font size of the words which have the most entries?

I’d like to avoid iFrames or embedding a word cloud from somewhere else.

up
it is possible to install wordcloud npm but I don’t know how to integrate it