Emanuele Bardelli Posted July 2, 2014 Share Posted July 2, 2014 Hi, we would like to include a word cloud into a dashboard. The quick and dirty solution we used is to generate the tag cloud via third-party web sites, export it as an image and include it statically into the dashboard . As next step, it would be nice to have the word cloud automatically generated by some spotfire scripting and make it interactive, so that each word is clickable and possibly to trigger filtering to other graphs using marking. If there is any, what do you think is the best approach to develop something like this I've seen around javascript/html word clouds so that could possibly be one way. IronPython perhaps Any idea will help... Thank you Emanuele Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted July 3, 2014 Share Posted July 3, 2014 Thanks Gerard...This looks very good. This kind of solve the first requirement - auto generate the word cloud. What about having each word in the tag cloud active and clickable to be able to use marking Do you think it's something possible Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted July 3, 2014 Share Posted July 3, 2014 Spotfire Professional Services group have developed a JavaScript Visualisation Framework for incorporating JavaScript Visualistion libraries into Spotfire as custom visualisations. e.g. D3, High Charts, etc. This greatly reduces the barrier to adding custom visualisations to Spotfire. It still involves some coding but a lot less then previously. D3 I believe has a word cloud visual, see the link attached. This could be incorporated and would be fully interactive, e.g. marking filtering. @[user:46928|Emanuele Bardelli] you should reach out to your Spotfire rep to get some more detail on the framework. Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted July 3, 2014 Share Posted July 3, 2014 Nice... I'll give this stuff a go! Thanks Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted March 9, 2015 Share Posted March 9, 2015 Hi @[user:61820|Leonard Walstad] , in the end i never had time to explore the advanced javascript/D3 wordcloud as that functionality was demoted to a nice-to-have. I might get back to this soon though...let's keep this post up-to-date with any new findings. Cheers Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted August 4, 2015 Share Posted August 4, 2015 This is Fantastic, good Work Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted September 7, 2015 Share Posted September 7, 2015 Hi Shaun, you will have to turn off 'PerformHTMLSanitization' it's a TextArea perference set through the Administation Manager tool. Link to comment Share on other sites More sharing options...
Emanuele Bardelli Posted October 23, 2015 Author Share Posted October 23, 2015 What do you think about this http://spotfirecommunity.spotfire.com/community/forums/p/443/19209.aspx Still unpolished but it's an interesting starting point... Link to comment Share on other sites More sharing options...
Gerard Conway 2 Posted October 23, 2015 Share Posted October 23, 2015 Here's something similar using Statistics Server and R. Passes in a text column and returns a wordcloud image to display in a text area and a data table containing the word frequencies. Link to comment Share on other sites More sharing options...
Philippe Verspeelt Posted October 23, 2015 Share Posted October 23, 2015 I found the attached file a while back on the old forum. This is done with Iron Python. Personally I like Gerard Conway's solution better because of the flexibility of R, but if you do not have a statistics server, this will work. Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted October 23, 2015 Share Posted October 23, 2015 Did this work for you Any guidance you can provide would be great. A member of my team needs to produce a word cloud for a customer. TIA Link to comment Share on other sites More sharing options...
Jason Wearden 2 Posted October 23, 2015 Share Posted October 23, 2015 great work @[user:933|Gerard Conway] Link to comment Share on other sites More sharing options...
Emanuele Bardelli Posted October 23, 2015 Author Share Posted October 23, 2015 Hi everybody I'm pleased to finally introduce a fully working dynamic and interactive Words Cloud running in Spotfire!!! I started off @[user:43269|Gerard Conway] hint and developed this integration using mainly JavaScript and Iron Python (embedded documentation for more details) Let me know your thoughts and feedback how to improve this. Regards Emanuele Link to comment Share on other sites More sharing options...
Surekha Kasar 3 Posted October 23, 2015 Share Posted October 23, 2015 Kudos to you! This is an excellent piece of work! Link to comment Share on other sites More sharing options...
Jason Wearden 2 Posted October 23, 2015 Share Posted October 23, 2015 Hmm I am not on 7.0 yet but thanks for sharing Emanuele Link to comment Share on other sites More sharing options...
Emanuele Bardelli Posted October 23, 2015 Author Share Posted October 23, 2015 @[user:13277|Jason Wearden] here's the interactive Words Cloud for Spotfire 6 I've found a 6.0.2 client still installed on an old spare laptop and rebuilt the words cloud dashboard on that version. I don't have the Spotfire 6 Server anymore so I had to work offline and couldn't fully test it. However, I've opened the Spotfire 6 Words Cloud Dashboard using a Spotfire 7 Client (without converting the dashboard) and it seems working fine. Let me know if you are able to run it ok in your environment. Cheers Emanuele Link to comment Share on other sites More sharing options...
Jason Wearden 2 Posted October 23, 2015 Share Posted October 23, 2015 Thanks Emanuele that is very kind of you. I will have a look and report back. Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted October 23, 2015 Share Posted October 23, 2015 Opened this up on Spotfire 7.0 Client, very cool, great work! Link to comment Share on other sites More sharing options...
Shaun Simon Posted October 23, 2015 Share Posted October 23, 2015 Haven't been able to get the word cloud to generate yet in 6.5--if anyone has let me know! Link to comment Share on other sites More sharing options...
christopher sawtelle 2 Posted October 23, 2015 Share Posted October 23, 2015 I am also interested. Link to comment Share on other sites More sharing options...
Shaun Simon Posted October 23, 2015 Share Posted October 23, 2015 After trusting the scripts, i'm getting this for the lower text area: The attribute 'onclick' is not allowed in an element of type 'img' The attribute 'align' is not allowed in an element of type 'img' The attribute 'input' is not supported Link to comment Share on other sites More sharing options...
Rodrigo Eiras Posted June 16, 2016 Share Posted June 16, 2016 I have did oneusing TERR. If you guys are insterested, i can share. Link to comment Share on other sites More sharing options...
rajesh reddy Posted April 2, 2018 Share Posted April 2, 2018 Can u please share dxp Link to comment Share on other sites More sharing options...
Peter Stieglitz Posted June 26, 2019 Share Posted June 26, 2019 I did not see the dxp. Is it still available Link to comment Share on other sites More sharing options...
Pete Thompson 3 Posted June 5, 2020 Share Posted June 5, 2020 I know this is an old question, but adding this answer in case it helps anyone who comes across it. It's possible using JSViz. I've built a set of visuals (including a word cloud) using JSViz and made them available here:https://community.spotfire.com/wiki/simple-use-jsviz-visualisations-gaugedonut-network-radarspider-sankey-animation-word-cloud Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now