A normalized stacked area chart shows variations in the amount each category contributes into a measure over a time interval.
Areas are highlighted in different colors and located above each other. The chart shows the percentage of areas and not their absolute value.
The width of an area indicates its ratio to the total amount represented as 100%. For example, the percentage of different expenses in the total budget amount.
Example
Visualization
Source table
Month
Gasoline
Rent
Food
Utility bills
January 2019
100
600
300
500
February 2019
150
600
250
700
March 2019
100
600
450
400
April 2019
120
600
370
510
May 2019
100
600
300
530
June 2019
130
600
310
600
July 2019
150
600
330
510
August 2019
120
600
250
550
September 2019
110
650
380
500
October 2019
120
650
300
550
November 2019
130
650
310
540
December 2019
100
650
400
550
This type of chart is used to show a change to the proportion of categories, while their totals are not critical. For example, to show how the percentage of product categories changes in the total sales amount.
Dimension. You can specify only one field here. This dimension is usually a date. If this is the case, make sure to specify the Date data type for this field in the dataset. This is required for correct sorting and signature display. For better visualization, you can group dates into weeks, months, and years. For more information, see Field settings.
Y
Measure. You can specify multiple measures. If you add more than one measure to a section, the Colors section will contain a dimension named Measure Names.
Colors
Measure Names dimension or field. Affects the color of lines. To remove Measure Names, delete measures from the Y axis.
Sorting
Dimension or measure. You can use a dimension from the X and Color sections or a measure from the Y axis. This section affects the sorting of values on the X axis or areas along the Y axis. The sorting direction is marked with an icon next to the field: for ascending or for descending. To change the sorting direction, click the icon.
Labels
Measure. Displays measure values on the chart. If multiple measures are added to the Y section, drag Measure Values to this section. Markup functions are supported. For String type fields, you can configure using basic Markdown in DataLens On-premises syntax: click the icon before the field name and enable Markdown.
Split
Dimension. Splits a chart horizontally by the selected dimension's values. The maximum number of splits per chart is 25.
Labels. If the category values are too verbose, make them shorter so that the chart labels look neater.
You can use string functions in calculated fields or the CASE conditional statements.
Do not display more than three to five areas on the chart.
To make it easier to track the dynamics, place the largest or most important categories closer to the chart base. To do this, drag the measure to the Sorting section or set up their order in the Y section.
For example, when comparing budget expenses.
Chart example
To monitor the budget spending dynamics by the Gasoline category, place it close to the chart base.
Chart example
If there is another important category, place it by the upper boundary of the chart. This way the areas will have clear boundaries to help visually compare their values. For example, to compare Utility bills and Rent.
Chart example
Splitting. You can split a chart by dimension into several small, easy-to-compare charts. To do this, drag a dimension from the dataset to the Split section.
Chart example
To display the absolute values of variables, use an area chart.