Set
Categorical set attributes are string attributes that have a limited number of possible values such as colors (red, green, blue, ...).
However, in contrast to a categorical attribute each row has a set of values, given in a set (Set<string>) or an array of strings (string[]).
Statistics
The statistics are the same as the categorical attribute ones.
see ICategoricalStats API Docs
Example
Live Editor
Result
{
"categories": [
"c1",
"c2",
"c3"
],
"hist": [
{
"x0": "c1",
"x1": "c1",
"label": "c1",
"count": 6,
"items": [
"c1",
"c1",
"c1",
"c1",
"c1",
"c1"
],
"color": "#4e79a7"
},
{
"x0": "c2",
"x1": "c2",
"label": "c2",
"count": 5,
"items": [
"c2",
"c2",
"c2",
"c2",
"c2"
],
"color": "#e15759"
},
{
"x0": "c3",
"x1": "c3",
"label": "c3",
"count": 4,
"items": [
"c3",
"c3",
"c3",
"c3"
],
"color": "#76b7b2"
}
],
"items": [
[
"c1",
"c2"
],
[
"c2"
],
[
"c1",
"c3"
],
[
"c1"
],
[
"c1",
"c2",
"c3"
],
[
"c1",
"c2"
],
[
"c1"
],
[
"c2",
"c3"
],
[
"c3"
]
],
"maxBin": {
"x0": "c1",
"x1": "c1",
"label": "c1",
"count": 6,
"items": [
"c1",
"c1",
"c1",
"c1",
"c1",
"c1"
],
"color": "#4e79a7"
},
"depth": 3,
"missing": 0,
"count": 9,
"flatMissing": 0,
"flatItems": [
"c1",
"c2",
"c2",
"c1",
"c3",
"c1",
"c1",
"c2",
"c3",
"c1",
"c2",
"c1",
"c2",
"c3",
"c3"
],
"flatCount": 15
}Visualization
Cell
UpSetLine React component
Live Editor
Result
Aggregation
Histogram React component
Live Editor
Result
Interactive Summary
FilterSetHistogram React component
Live Editor
Result