Plotting Area Plots
An Area Plot graphically displays quantitative data, emphasizing the area between the axis and the curve. It is similar to a curve plot, but it displays colored areas rather than a simple line.
Usually two or more quantities are compared with an area chart.
It contains the following attributes:
Attribute | Mandatory | Constraints |
---|---|---|
x | No | |
y | Yes | It cannot be a nominal value |
weight | No |
Properties
Category | Properties | Description |
---|---|---|
Y attribute | Aggregate operator | The operator used to aggregate data. Possible values are average, maximum, median, minimum, mode and sum. |
Number of bins | Defines the number of displayed intervals for the attributes. | |
General parameters | Displayed value | The value displayed in the plot. Possible values are standard, total percentage or target percentage. |
X attribute | Number of bins | Defines the number of displayed intervals for the attributes. |
Target attribute | Number of bins | Defines the number of displayed intervals for the attributes. |
Examples
The following examples are based on the Adult dataset.
Scenario data can be found in the Datasets folder in your Rulex installation.
Type | Description | Result |
---|---|---|
Basic area plot | Dragging and dropping the occupation attribute onto the x cell and the age attribute onto the y cell and selecting Area Plot in the Plot cell will display an area plot for the age attribute related to the occupation attribute. | |
Area plot with target | Dragging and dropping the sex attribute onto the Target cell will display the two overlapping area plots corresponding to the sex attribute. |