Text analysis using Bubble pack layout

196 views
Skip to first unread message

Nilesh Jethwa

unread,
Feb 15, 2013, 9:45:56 AM2/15/13
to d3...@googlegroups.com
Hi everyone.

 This is my second attempt at d3. I like the force layout a lot because of its interactivity and wanted to build something around it. But any bubbles over 30 or so Firefox crawls to death.
Somehow Chrome does not choke up at even 100 bubbles. So I decided to just the pack layout and it turns out very good.

For e.g in the bubble pack analysis, I take each hacker news title and split the words and count the word occurrence. The benefit that pack layout provides is that each word in the title can be traced
in the same outward spiral and most often they have the same color but different shading. 


It has the front page, best and ask hn pages.

Also, I applied the same logic to any web page URL and created another page "Bubble my page". The bubble-my-page also serves the purpose of analyzing your blog post word count.


Please share your feedback/thoughts.

Thank you
Nilesh

Trevan Richins

unread,
Feb 15, 2013, 11:34:09 AM2/15/13
to d3...@googlegroups.com

Do you have firebug open on Firefox?  With firebug open, a force layout with 30 is pretty bad but without firebug, I’ve done over 1000 easily.

--
You received this message because you are subscribed to the Google Groups "d3-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Nilesh Jethwa

unread,
Feb 15, 2013, 12:32:35 PM2/15/13
to d3...@googlegroups.com
Hi Trevan,

   I do development in Firefox and have firebug on all the time. I just tested with firebug off. It is still choppy, not as smooth and fluid like chrome but yes turning firebug off did improve it a bit.

Thanks
Reply all
Reply to author
Forward
0 new messages