removing d3 as a dependency