import"selection";
// TODO remove(selector)?// TODO remove(node)?// TODO remove(function)?
d3_selectionPrototype.remove = function() {
returnthis.each(d3_selectionRemove);
};
functiond3_selectionRemove() {
var parent = this.parentNode;
if (parent) parent.removeChild(this);
}