Added d3 as a dependency.