Looking through the d3 docs, I see this code (the identity function) repeated everywhere:
function(d) { return d; }
Is there a built-in way in d3 to do this? I know I could create my own no-op identity function and use it everywhere, but it seems like d3 should provide this.