AngularJS directive for adjustable dynamically updating NVD3 charts