Fixes build by removing top-level d3 dependency.