Add a color-label block
categoryBlock(i, values, tag_name, class, color_map)The index of the item to be created
A list of values from which the corresponding item label will be retrieved
An HTML element tag
The HTML element class that will enable interaction
A list of colors from where the corresponding item color will be retrieved
An HTML element with pointer cursor, a colored square and a label