Archit Soni 4 Posted December 1, 2016 Share Posted December 1, 2016 Hi, I have created a word cloud D3 visualization to show the frequency of most recurring statements. However,I am not able to add code to wordcloud,js to enable marking. Can you please let me know how marking can be achieved for D3 specific visuals. Any suggestion/direction is appreciated. Thanks, Archit Link to comment Share on other sites More sharing options...
Dave Leigh Posted August 13, 2018 Share Posted August 13, 2018 Hi Archit In general the process of Marking follows the same pattern: 1) Extract the Marking ID passed by Spotfire in the JSON data sent to your renderCore() method. 2) Store this Marking ID in the d3 objects rendered on-screen 3) In the Marking code, figure out which d3 object or objects the user clicked on. 4) Send the Marking IDsof those objects back to Spotfire via the MarkIndices2 method. You can see these steps in action in the Doughnut Chart sample that comes with Spotfire.You can also see a detailed explanation for another chart implementation here:https://community.spotfire.com/wiki/how-create-network-chart-visualization-... However, it may not be immediately obvious what actions you want to accomplish with Marking.In your case, do you want to highlight all the records that contains the word(s) marked If you want to do something that falls outside the bounds of regular marking, then you might consider executing an IronPythonscript when a user makes a selection. Link to comment Share on other sites More sharing options...
Ritu Goelr Posted September 19, 2018 Share Posted September 19, 2018 Hi archit, can you please share the script used to create word cloud in spotfire 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