use d3 from npm