Fix CategoryAxis behavior with non-string data. Close #927

Close #927 
because we use d3.Selection.each and then d3.select(this)