Color scheme configuration can be a mapping of category labels to CSS colors or a function of category label and type label
Support for coloring depending on category and type
Color bar plot by type in example