Fix issues in d3 definition
Merge pull request #495 from nestalk/master

Fix issues in d3 definition