add d3 dependency.
Merge pull request #4 from xica/feature/addD3Dependency

add d3 dependency.