A response to the question:
Do you have a good example of a D3 grouped selection? I can never remember how to do the pattern and don't do it often enough. For example an SVG group (for each data element) that has say a bar and a label within it. Appending is easy, joining is where it gets a bit more gnarly