A knockout binding for a d3.js driven graph