Add d3 as global to jshintrc
Draw tree using d3 in a directive