mortgage overpayment calculator angular.js & d3.js