Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am fabid on github.
  • I am fabid (https://keybase.io/fabid) on keybase.
  • I have a public key ASATcWXKUWh6ddrPiDaL1UWse3cReaJY3QiGK9gDPrbxKwo

To claim this, I am signing this object:

@fabid
fabid / README.md
Last active Jun 29, 2016
single faced d3 x3dom surface (no gradient)
View README.md
@fabid
fabid / README.md
Last active Jun 28, 2016
d3 x3dom surface (no gradient)
View README.md
@fabid
fabid / README.md
Last active Jun 28, 2016
d3 x3dom surface plot
View README.md
@fabid
fabid / README.md
Last active Jun 27, 2016
Interactive Linux process tree using d3.js (start folded)
View README.md

This is a chart as used as an example to demonstrate the relationships between Linux processes as a tree using d3.js.

The nodes can be collapsed (since they tend to get crowded) by clicking on them and they include a tool tip feature to provide additional information about each process. It is used as an example and described in the book D3 Tips and Tricks.

The csv file used here was taken by running the command...

ps -eo pid,ppid,pcpu,size,comm,ruser,s

...and converting the resultant output to a csv file. I manually added the 'start' line (0, ,0,0,start,nul,u) to include the root node and removed the '%' sign from the '%CPU' label to reduce chance of errors. In theory this process of formatting the data file could be automated (indeed, there may be a much better way to gather and include it!).

@fabid
fabid / README.md
Last active Jun 28, 2016
d3 x3dom surface plot with d3-x3dom-shape
View README.md
@fabid
fabid / README.md
Last active Mar 19, 2016
d3 x3dom scatter
View README.md
@fabid
fabid / README.md
Last active Sep 27, 2018
d3 x3dom axes
View README.md
@fabid
fabid / README.md
Last active Jul 23, 2016
d3-returntimemap
View README.md
@fabid
fabid / README.md
Last active Mar 2, 2016
d3-heatmap
View README.md
You can’t perform that action at this time.