more angular.js + d3 exercise code