Skip to content

Instantly share code, notes, and snippets.

@bentwonk
bentwonk / fish2.js
Created April 27, 2012 23:31
d3 force graph with fish eye, pan and zoom, and custom tool tip
var w = 1600,
h = 800,
fill = d3.scale.category20()
trans=[0,0]
scale=1;
var fisheye = d3.fisheye()
.radius(100)
.power(3);