added d3 as a dependenci