Data Visualization: What open-source package can I use to create a Topic Cloud (like The Economist)?
-
Anyone know of a free (preferably Python or R) package to create a Topic Cloud, like: http://www.economist.com/conversation-cloud?days=1 Ideally I just give it the topic matrix (e.g. from gensim) and it does the clustering, applies thresholding, computes coordinates and draws the thingy. If such a package does not exist, anyone can point me to an algorithm paper so I can implement it?
-
Answer:
the wordcloud package in R. just two lines of code. makes a word cloud like wordle. for making a topic model - basically clustered clouds - you can use the tm and topic model/lda packages in R. for making the animation- you can use animation package in R. For making a interactive page you can refer to one of packages in R for serving java (but I am not sure) or you can try it in Clojure . Python . But R will get the job done easier and fastest!
Ajay Ohri at Quora Visit the source
Other answers
I created this wordcloud based on the tweets related to the retirement of the Indian Cricket Team's Captain from test matches using R. I am attaching the codes along with so that you can use it if you wish to do a similar analysis. The codes used for this specific part was: clean_text = clean.text(tweets.text) tweet_corpus = Corpus(VectorSource(clean_text)) tdm = TermDocumentMatrix(tweet_corpus, control = list(removePunctuation = TRUE,stopwords = c("rt", "http", stopwords("english")), removeNumbers = TRUE, tolower = TRUE)) m = as.matrix(tdm) #we define tdm as matrix word_freqs = sort(rowSums(m), decreasing=TRUE) dm = data.frame(word=names(word_freqs), freq=word_freqs) wordcloud(dm$word, dm$freq, scale=c(6,1),random.order=FALSE, colors=brewer.pal(8, "Dark2")) You can view my post for a detailed look at the stuff I did: http://jagadeeshr.wordpress.com/2014/12/31/dhonis-farewell-in-twitter/
Jagadeesh Rajarajan
R is the best package for that sort of thing But there is a tool I use that can help as well. It is called Qiqqa - http://www.qiqqa.com/ Fantastic research tool
Glenn A. Hefley
Related Q & A:
- What can I use to clean a DVD?Best solution by Yahoo! Answers
- Can I use silverdine for a scar?Best solution by Yahoo! Answers
- Where can I go to create a quote?Best solution by brainyquote.com
- What kind of jobs can i apply for with a associate degree in computer science?Best solution by Yahoo! Answers
- How can I use recipient in a sentence?Best solution by sentence.yourdictionary.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.