Skip to content

Instantly share code, notes, and snippets.

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 June 29, 2016 01:47
single faced d3 x3dom surface (no gradient)
@fabid
fabid / README.md
Last active June 28, 2016 14:37
d3 x3dom surface (no gradient)
@fabid
fabid / README.md
Last active June 28, 2016 14:36
d3 x3dom surface plot
@fabid
fabid / README.md
Last active June 27, 2016 04:20
Interactive Linux process tree using d3.js (start folded)

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 June 28, 2016 13:52
d3 x3dom surface plot with d3-x3dom-shape
@fabid
fabid / README.md
Last active March 19, 2016 21:30
d3 x3dom scatter
@fabid
fabid / README.md
Last active September 27, 2018 22:39
d3 x3dom axes
@fabid
fabid / README.md
Last active July 23, 2016 12:02
d3-returntimemap
@fabid
fabid / README.md
Last active March 2, 2016 14:50
d3-heatmap