731 questions
1
vote
1
answer
27
views
Chart.js register functions not recognizing any extensions (chartjs-chart-geo and chartjs-chart-wordcloud)
I'm working on a dashboard for a web application. The application uses Flask, and the dashboard is built with the Chart.js framework. For some charts, such as a word cloud and a Choropleth to display ...
3
votes
1
answer
76
views
wordcloud with 2 background colors
I generated this on wordcloud.com using one of the "themes".
I'd like to be able to do this with the python wordcloud library, but so far all I can achieve is a single background color (so ...
1
vote
0
answers
49
views
WordClouds in matplotlib-set-diagrams by Word Frequency
I would like to create Venn Diagram WordClouds for two sets of words. matplotlib-set-diagrams https://github.com/paulbrodersen/matplotlib_set_diagrams (matplotlib-venn is now deprecated) works great ...
1
vote
0
answers
52
views
Word Cloud in R, R removing my specific words
I am working on my word cloud using R.
In my data, I have many "AI" but the word cloud does not recognize this word. ChatGPT respond that I have 43 AI in my data. Here is my code:
install....
0
votes
1
answer
25
views
How do I turn the values in a subset into text so that I can generate a wordcloud?
From a large tabular data set (using read.csv function) I have created a subset from a column that lists different job roles in the rows.
View(jobs_mysubset)
.....
\[995\] physician
\[996\] painter
...
0
votes
0
answers
44
views
How to add react context menu in react-wordcloud?
I'm working on integrating a word cloud component into my React application, and I'm using the ReactWordcloud component to display the word cloud. I would like to implement right-click functionality ...
0
votes
1
answer
78
views
Python Wordcloud: Help getting (near) what designers ask for
I am generating a wordcloud from a term-frequency dictionary and got this:
by using the following wordcloud parameters:
wordcloud = WordCloud(
width=667,
height=375,
font_path=...
0
votes
0
answers
20
views
Python WordCloud API colours
What does the colours in a WordCloud represent? I am using the python API for WordCloud which assigns random colours (atleast according to me) to words. Am I missing something and do these colours ...
0
votes
0
answers
43
views
Kumo WordCloud avoid skipping
Been enjoying using WordCloud generator written by (https://github.com/kennycason/kumo) and its very effective. However, just noticed it can exclude high scoring words during the collision phase.
It ...
0
votes
0
answers
91
views
Creating user-defined word cloud in python with dash.plotly
I'm totally new in this world.
I have checked a lot of sites and in here but can't seem to find a way to a solution.
I need to create a word cloud in python with dash.plotly.
The requirements is the ...
1
vote
1
answer
379
views
Possible to reduce the number of Words in a Vega wordcloud?
Situation
I'm using the Vega visualization grammar tool in Looker Studio. Specifically, the wordcloud chart.
Documentation:
https://vega.github.io/vega/docs/transforms/wordcloud/
What I've tried / ...
1
vote
1
answer
464
views
Error in installing the package wordcloud in python [duplicate]
I have a problem regarding installing wordcloud. I tried downloading it through Python using pip install wordcloud, and this is what the output is:
C:\Users\y>pip install wordcloud
Traceback (most ...
0
votes
1
answer
67
views
How to set number of colours from custom palette wordcloud in R uses
I'm trying to build a wordcloud of some survey answers in R that is coloured by frequency, but using a custom colour palette I've been asked to use. The palette has 8 colours, but no matter what I ...
0
votes
1
answer
279
views
Word cloud with weights represented in size and direction of relationship by colour in R
I have done a PCA and I want to create a wordcloud that represents the weights and direction of relationship (positive or negative) of the different dimensions of the component of the PCA.
I have this ...
0
votes
1
answer
93
views
WordCloud: problem with displaying bigrams
I want to implement a word cloud from scrapped Twitter data. The problem is that the word states occurs 214 times, while state - 64. There is only one tweet in which the combination of the words ...
1
vote
2
answers
85
views
Access variable in vue custom renderer
I am trying to implement te custom renderer of this Vue Word Cloud component in Laravel:
https://github.com/SeregPie/VueWordCloud
I first prepare my word array using php (working):
@php
...
0
votes
2
answers
599
views
Pip3 Install Wordcloud error: can't build wheels
I tried installing wordcloud. I have python 3.10, mac ventura 13.4.1. I tried installing wheels as well, butwasn't sure what version, and nothing worked either. can anyone help me get this up and ...
0
votes
1
answer
552
views
WordCloud Python jupyter notebook not working
from wordcloud import WordCloud
wordcloud = WordCloud(width=900, height=600, random_state=21, max_font_size=110, background_color='ghostwhite',
max_words=200,colormap='Dark2')....
3
votes
2
answers
7k
views
wordcloud AttributeError: 'TransposedFont' object has no attribute 'getbbox'
I tried to run the following code to generate a word cloud.
text = 'word1 word2 word2 word3 word3 word3'
from wordcloud import WordCloud
wordcloud = WordCloud(width=480, height=480).generate(text)
...
0
votes
1
answer
275
views
Creating Word cloud
I tried building a wordcloud on my jupyter notebook with the code
from wordcloud import WordCloud
import matplotlib.pyplot as plt
sent = "This is my First Word Cloud, it is the First of its ...
1
vote
2
answers
179
views
In Vega visualization, how to use a custom mark instead of just text in the word cloud?
I'm trying to make a word cloud using Vega wordcloud, documented here https://vega.github.io/vega/docs/transforms/wordcloud/
But I'd like to show the word count below each word, and in a smaller font ...
1
vote
1
answer
112
views
Why is my word cloud not showing all the data involved?
Anyone familiar with creating word clouds in d3 and html able to tell me why my code below is not showing all the IDs in the word cloud? The values represent the average product ratings for each ...
1
vote
0
answers
263
views
Arabic Wordcloud not shown correctly
Months ago I generated a word cloud for Arabic text and it was working well. I used the same code now and the Arabic text is not correctly displayed as in the photo
word-cloud error
I tried different ...
0
votes
1
answer
1k
views
WIth wordcloud, it says 'only Truetypefonts supported' ('despite adding the right path), or 'TypeError: argument of type 'int' is not iterable
I wanted to see if I could generate a wordcloud on my fake dataframe, but I'm running in quite some trouble. I used the code from this website:
https://www.analyticsvidhya.com/blog/2020/04/beginners-...
1
vote
1
answer
2k
views
error Only supported for TrueType fonts or cannot open resource when using wordcloud python windows
im trying to create wordcloud using this code
font = 'C:/Windows/Fonts/Arial.ttf' word_string = ' '.join(trigrams) wordcloud = WordCloud(font_path=font, width=800, height=800, background_color='white')...
6
votes
3
answers
10k
views
'ImageDraw' object has no attribute 'textbbox'
I am working on a simple text mining project. When I tried to create a word-cloud I got this error:
AttributeError: 'ImageDraw' object has no attribute 'textbbox'
I have a dataset of News and their ...
0
votes
1
answer
294
views
Increasing image quality in a wordcloud+matplotlib image
I have a wordcloud created in Python with WordCloud and Matplotlib packages, but I can't download a High quality image of it.
If I zoom a bit, I can not understand any of the small words. I would like ...
0
votes
1
answer
96
views
Influxdb2 influx grafana word cloud from multiple results
I am getting into influxdb2 and flux currently. My playground is, to scrape a public website and be able to visualize the words on the website in a word cloud in Grafana. This works, but when my range ...
3
votes
1
answer
134
views
Changing the positioning to absolute to contain a word cloud
I wrote the following code to generate a word cloud in D3:
HTML
<html>
<head>
<title>D3 Word Cloud for Textual Data</title>
<link rel="stylesheet" href=&...
1
vote
0
answers
97
views
How to loop through records and create multiple WordCloud charts?
I have a simple dataframe with two columns of text. Here is my script.
from wordcloud import WordCloud, STOPWORDS
for i in df_cat.columns:
text = df_cat[i].values
wordcloud = WordCloud()....
1
vote
1
answer
224
views
Error using emoji as input with Highcharts WordCloud
I've run into a problem using Highcharts WordCloud with React when using emoji as the input data. I'm using the highcharts-react-official wrapper. Most of the time the emojis display fine, but ...
0
votes
0
answers
38
views
Recursion Error while creating word cloud with pandas: Unsure how to optimize
I am currently visualizing this data set Women In Headline: bias and am attempting to create a world cloud using pandas
def WordCloud ():
data = Train_data[Train_data['bias'] == 5]
text = " &...
0
votes
1
answer
352
views
KeyError: False; Pandas dataframe error when creating list from dataframe columns
I am trying to create lists out of a dataframe column in pandas. My code is:
positive = tweet_df[tweet_df['updated sentiments'].equals('positive')]
This gives me the error:
The dataframe for this ...
1
vote
1
answer
699
views
Word cloud/tag chartJS TSX Expanding/moving
I have implemented the worldcloud of this form: [https://www.npmjs.com/package/chartjs-chart-wordcloud] in a tsx project. The cloud is implemented and mostly doing fine. I have useEffect on the chart, ...
0
votes
0
answers
475
views
Deprecation warning while generating word-cloud
When trying to generate a word cloud in Python 3.10. I get a deprecation warning stating that:
08: DeprecationWarning: textsize is deprecated and will be removed in Pillow 10 (2023-07-01). Use ...
0
votes
2
answers
54
views
Save plot using matplotlib
I try to generate two separate wordcloud for positive and negative. However, when I use savefig it only save the last figure. The last figure is negative sentiment.
TEXT_COLUMN = 'pre_process'
...
2
votes
1
answer
148
views
Implementing tf-idf in wordclouds
I have some google reviews for some universities in a dataframe like below df_unis. The column uni_name contains the university names. I wish to create word clouds for each university separately but ...
0
votes
0
answers
139
views
Am I doing anything wrong here - when trying to visualize the wordcloud with matplotlib?
This is my first project on word cloud - can any please help to solve the issue ? I'm getting an error - Type Error: 'module' object is not callable. Here is the below complete code for your reference....
1
vote
1
answer
558
views
Remove whitespace from a wordcloud plot
Below is a screenshot from quarto document with a wordplot I've generated using wordcloud package in R.
The challenge is that there is a lot of white space between the words on the plot and the border ...
0
votes
1
answer
201
views
Merging words in a wordcloud made in R
I have created a word cloud with the following frequency of terms:
interesting interesting 21
economics economics 12
learning learning 9
learn learn 6
taxes ...
1
vote
0
answers
111
views
World Cloud with two-word terms?
I am trying to create a wordcloud for my internship and I'm struggling with it, i would appreciate any help!
I have a repository of 200 pdf documents, and I have to build a wordcloud of the terms that ...
1
vote
1
answer
117
views
How to plot multi-word expressions with quanteda
I am using the quanteda package in r for textual data analysis. I am interested in plotting some Keyword-in-context display using the kwic() command that is to useful to find multi-word expressions in ...
0
votes
1
answer
221
views
Wordcloud showing image but not words in R
Having trouble getting the words to show up on an image mask for a word cloud in R.
Using this Simpsons PNG (https://imgbin.com/png/PV5MuKbG/lisa-simpson-bart-simpson-homer-simpson-maggie-simpson-...
0
votes
1
answer
64
views
memory efficient Wordcloud? Huge dataset creates error to allocate vector
I try to make a wordcloud in R but my dataset is too big (500.000 Tweets are in it)
But I get always the error message running line
m <- as.matrix(tdm)
"Error: cannot allocate vector of size ...
1
vote
0
answers
114
views
words hyperlink in a wordcloud
i am trying to develop a hyperlink worcloud. MWE is given below, any hint please.
link = {'Python':'https://www.python.org/',
'R':'https://cran.r-project.org/bin/windows/base/',
'php':'...
1
vote
1
answer
644
views
Showing Chinese character '稳' in python wordcloud
The character '稳' isn't showing when I try to do a wordcloud.
from wordcloud import WordCloud
d={'稳' : 2,
'定' : 3,
'稳增长' : 4,
'国企' : 4}
wc = WordCloud(font_path=...
2
votes
1
answer
403
views
How to create a wordcloud without removing the punctuations in the text?
I am trying to create a word cloud in in python. My goal is to have the words in the csv file appear as they are, without the removal of any punctuations. i have tried several approaches, but I am not ...
0
votes
1
answer
103
views
Unnecessary words included in the Word cloud created using R programming
I am trying to create some word cloud in R, which I am managing well so far with the exception of one little problem. I don't know where these words/symbols are coming from, but the following words ...
1
vote
0
answers
18
views
read full review from the dataset with the specific word that shown in wordcloud
Hy! I am finding for the reviews from dataset related to those specific words that are shown in wordCloud
here is my code for visualizing and counting for words
visualize wordcloud with removing ...
0
votes
0
answers
36
views
How to plot the frequency chart and world cloud from the frequency list created in Pandas
I have data frame of n-grams frequency which is created by below code. How can create frequency plot and word cloud from the below output.
Code
from sklearn.feature_extraction.text import ...