added comments on d3