I've added this internal function to select direct children and filter them by class name. I would have prefered to use d3 selections.

I've tried: d3 child selections (but that doesn't work since I need to explicitly describe the parent) and d3.selectAll(childNodeList) but further queries could not be limited to children.

Let me know if you think I can get away without using this function.