Knockout.js binding handlers for d3.js charts