Is it possible, in D3.js, to listen for changes to a element attribute?
For example, say I have the following selection:
var myDiv = d3.select('#myDiv);
Is there any way I can create a listener that will do something whenever any of myDiv
's attributes change?