using minified version of d3