Merge pull request #59 from polynickglot/master

Add comments to d3 logic