/unix-command-survey

Visualization of correlations between HN users' .bash_history

Primary LanguagePythonMIT LicenseMIT

unix-command-survey

Visualization of a survey that 1500 people filled out about the top commands in their .bash_history.

You can see the visualization here: http://jvns.ca/projects/unix-command-survey/graph.html

How it's generated:

  • For each command, create a binary vector of which people have the command in their history (1 if they do, 0 if they don't)
  • Calculate the correlations between the command vectors
  • Display the resulting graph using D3!

The code is more or less a mess, but feel free to submit pull requests if you want to improve something.