The d3.scale-category function from d3