added local version of d3