Class: Attribute

Attribute

new Attribute(name, values, relevance, color, xWeight, yWeight, errorWeight, yWeight, filtered)

Represents a value. A value always belongs to an attribute. An attribute can have multiple values, which are in an array, and if two values are merged, one value is removed to from the array and appended to the reference
Parameters:
Name Type Description
name string The name of the attribute.
values Array Name of the parent attribute.
relevance int Index for reference in the visualization.
color int Total sum of entrys with this value.
xWeight float Value of relevance calculated by the MCA.
yWeight d3.color Color of the value in the visualization.
errorWeight float Contribution to the x-axis during the MCA.
yWeight float Contribution to the y-axis during the MCA.
filtered float Coordinate on the x-Axis of the visualization.
Source: