Commit dependencies and lock d3 version

More details in the commit messages.