I think your problem here is that your data is in the wrong format to what you appear to be aiming for... rather than having one entry per category you've got one category with everything as an entry within it...

If you put this line after your query data definition:

query = d3.transpose(query);

You should get one bar per person and no massive tooltips

(I also adjusted the axis label rotation to make the labels readable)

Related Query

More Query from same tag