added d3
local copy of d3