resolving d3 dependency