The `colorIdx` value given to d3 is automatically modded by the domain size, so the modding we were doing was a bit redundant.

Assigning `10` to a variable name again is probably a good idea, will do that.