RELEASED - New Plugin - Wordcloud

@Jici I have been attempting to implement this plugin within a new app. I have been unable to get the original element not to overlap & the words are going outside the bounds of the element. When I try and use the worldcloud v2, the words do not scale in size based on their frequency within a list of words. Any help would be appreciated.



Screen Shot 2023-05-18 at 3.48.54 PM

I have attached screenshots of my attempts at implementing both elements. As you can see, for the v2 wordcloud, this is the list of words it is pulling from. Macbeth is clearly seen >5 times which is the constraint I have set for when the words should scale. Yet, they do not

Hi Can you share your settings on send a PM with a link to your app in public view mode? Thanks

For anyone facing the same issue: don’t use app fonts (variable). Just set the font directly in element instead.
Thanks

Hi @Jici

Some of the words get cut off on my word cloud:

Any chance you can fix this?

Hi @Atomily Just to be sure, this is the V2 ?

That’s correct

Possible to share the settings? You can send me a PM thanks.

Hi @Jici

Thanks for the response. It seems to be working now but not sure why.
On a separate note: is there the ability to specify the number of words to display in V2?

Hi @Jici

I saw some updates to the plugin. What sort of changes must I take into account before upgrading?

The plugin is now owned by @Thimo
Maybe he did some change I don’t know.

1 Like

@Atomily The plugin now automatically re-renders when an update occurs (re-size, data update etc.). This should not cause any issues for most users, but I waned to flag it as ‘breaking’ so users can double check their setup when they are upgrading :slight_smile:

Thanks @Thimo. This is a very welcome update

Is it possible to please add a feature to specify the number of words to display (the top X most frequently mentioned words)? It can be very overwhelming with too many words and can detract from the purpose of a word cloud which is to summarize key words in an easy to visualize way. :pray::pray:

This is now implemented for the V2 element for the ‘Text’ field in update 1.5.0 :slight_smile:

:sparkle: Demo: Tag and Word Cloud Generator

2 Likes

Thanks @Thimo! This is truly great. :slight_smile:

When I add a list of texts, the word cloud separates based on spaces and commas in stead of just separating by comma. For example “Running Shoe”, “Tennis Shoe”, “Basketball Shoe” becomes “Running”, “Tennis”, “Basketball”, “Shoe” which is not an accurate representation.

Is it possible to make the plugin separate by commas only to allow for compound words?

I am not quite sure if this is possible, I will put it on my list to explore the possibilities! :slight_smile:

@Atomily With the dynamic text part, it’s not possible. But you may use the List of text and list of count with group by Bubble feature. I’ve not tested, but it should work. However, it may be a problem if you just provide a list of text and not a list from DB.

If @Thimo want, he could add this feature with a new option and make a different calculation like I did for a list of text/count VS a full text analysis. Both actually use two different scripts from this library.

1 Like

Thanks a lot @Jici. I’ve tried the group by approach but it takes much longer to render on a large list especially if the user is updating the data. Also not all lists can be used with group by for example, list fields don’t work.

This would be very beneficial @Thimo to have a new option especially if the script already exists. I imagine many if not most use cases will need compound words. :pray::pray::pray:

Hi @Thimo!

Trying my second plugin of your making… :slight_smile: I’m having a problem: I just set up my first wordcloud2 with a 660 word text and it just keeps redrawing and redrawing, a couple of times per second. Keeps doing so and gradually moving down the page, mm by mm.

Any idea what that could be? Thanks for your help! :slight_smile:

@Benjamin_Berghaus I am not able to reproduce the issue on the demo page: Tag and Word Cloud Generator

I will send you a PM so we can take a better look at the issue! :slight_smile: