Revert "Remove d3 directory."

This reverts commit 23c7d06ea4858c43eb0eab10e0e152a0c8d1712c.