Update d3 definition

Add missing functions and some comments for intellisense