using local copy of d3 now