News for hackers. Stuff that matters.
Re:Show HN: Interactive Visualization of Influence in Progra... by zackzackzack on Thursday September 27, 2012 @02:54PM (#4582187)
A general tip for graphs with small points: if you use a clipped voronoi diagram to trigger mouse interactions, then the graph becomes much easier to navigate. Basically, the graph gets split up into regions that make efficient but intuitive use of the space.

See here for an example with d3: http://bl.ocks.org/1405439

Otherwise, way cool.

Re:Show HN: Interactive Visualization of Influence in Progra... by yaph on Thursday September 27, 2012 @03:28PM (#4582386)
Not sure how I would apply this technique in this particular case, maybe you can give me another hint.
Re:Show HN: Interactive Visualization of Influence in Progra... by zackzackzack on Thursday September 27, 2012 @04:24PM (#4582703)
For hovering over each language, it would make it much easier to select the smaller dots.
Re:Show HN: Interactive Visualization of Influence in Progra... by gtani on Thursday September 27, 2012 @02:54PM (#4582188)
Re:Show HN: Interactive Visualization of Influence in Progra... by pav3l on Thursday September 27, 2012 @03:42PM (#4582483)
I'm curious where you got your data for the graph? For example, I don't understand how R is influenced by Scheme, and S is isn't.
Re:Show HN: Interactive Visualization of Influence in Progra... by yaph on Thursday September 27, 2012 @03:51PM (#4582528)
The data is from Freebase http://www.freebase.com/view/computer/programming_language and the code to get the data is in this GitHub repo https://github.com/exploringdata/programming-languages-influ....

From Wikipedia's R page: "R is an implementation of the S programming language combined with lexical scoping semantics inspired by Scheme."

Guess that explains it.

Re:Show HN: Interactive Visualization of Influence in Progra... by wladimir on Friday September 28, 2012 @02:28AM (#4584501)
Very cool graph.

Small nit: "C" and "Pascal" overlap in position, it appears to be impossible (at least in Chrome) to select "Pascal".

Edit: never mind, it's randomized every time :) But maybe it's a good idea to add some collision avoidance.

Re:Show HN: Interactive Visualization of Influence in Progra... by yaph on Friday September 28, 2012 @05:36AM (#4584819)
Yes, I may be going to preprocess the graph using Gephi and/or see what I can do with sigma, it was my 1st project with this library.
Re:Show HN: Interactive Visualization of Influence in Progra... by mgallivan on Thursday September 27, 2012 @04:36PM (#4582752)
What does the size of each vertex represent? Also, how do you lay out the graphs?
Re:Show HN: Interactive Visualization of Influence in Progra... by yaph on Thursday September 27, 2012 @04:43PM (#4582786)
The size is based on the number of languages influenced across all paradigms, the layout is random.
Re:Show HN: Interactive Visualization of Influence in Progra... by geekgirlweb on Thursday September 27, 2012 @04:20PM (#4582681)
Hm, I would have thought that PHP would have been larger/visible on the graph.
Re:Show HN: Interactive Visualization of Influence in Progra... by nivla on Friday September 28, 2012 @04:01AM (#4584650)
Same here. I was surprised to see it not even being listed despite OP's original data source having it.

http://www.freebase.com/view/computer/programming_language

Re:Show HN: Interactive Visualization of Influence in Progra... by yaph on Friday September 28, 2012 @05:43AM (#4584835)
PHP is a small node, according to the data source it has influenced only 2 languages.

The fact that PHP is widely used doesn't make it influential on other languages, in the case of PHP the opposite may be true.

To find PHP in this random layout restrict the paradigm to "Interpreted language" and move your mouse over Python, the PHP label will show up.

Re:Show HN: Interactive Visualization of Influence in Progra... by Toshio on Thursday September 27, 2012 @04:02PM (#4582576)
Is it just me, or is the programming language called Clean not on there?

http://en.wikipedia.org/wiki/Clean_(programming_language)

Re:Show HN: Interactive Visualization of Influence in Progra... by yaph on Thursday September 27, 2012 @04:15PM (#4582650)
It's included, choose "Functional Programming" and move your mouse over Haskell, it is one of the influenced languages (blue edge).