Skip to content

Instantly share code, notes, and snippets.

View ghudgins's full-sized avatar

Graham Hudgins ghudgins

  • SE Pennsylvania
View GitHub Profile

Keybase proof

I hereby claim:

  • I am ghudgins on github.
  • I am ghudgins (https://keybase.io/ghudgins) on keybase.
  • I have a public key ASCsJsSMX8HvgdONDhAvHzWxRwVcn4-3e1tTPAPcycv8Kgo

To claim this, I am signing this object:

@ghudgins
ghudgins / d3.sankey.js
Created January 7, 2019 20:49 — forked from emeeks/d3.sankey.js
Sankey Particles
d3.sankey = function() {
var sankey = {},
nodeWidth = 24,
nodePadding = 8,
size = [1, 1],
nodes = [],
links = [];
sankey.nodeWidth = function(_) {
if (!arguments.length) return nodeWidth;