Description Usage Arguments Value
Add a color-label block
1 | categoryBlock(i, values, tag_name, class, color_map)
|
i |
The index of the item to be created |
values |
A list of values from which the corresponding item label will be retrieved |
tag_name |
An HTML element tag |
class |
The HTML element class that will enable interaction |
color_map |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.