Area chart

Area graphs are used to display the development of numerical values over an interval or time period.


Area charts are conceptually similar to line charts as they display quantitative values over a continuous interval or time period. First drawn by plotting data points and joining a line, the area below the line is then filled with a specified variable or colour.

Select a continuous interval or time period variable (x) along with a numerical variable (y) to create a basic plot. Add in a categorical fill variable to group the area charts based on the values selected, and colour them accordingly. Select a summary_function in order to perform basic statistics upon the y variable selected.


The area chart below shows the sea ice extent in Antarctica and the Arctic between 1990 and 2011.



Variable nameRequiredConstraintsDescription
xYesColumn Input. Text, Integer, Decimal, DateTime, DateThe values of this column will be mapped onto the X-axis.
yYesColumn Input. Integer, DecimalThe values of this column will be mapped onto the Y-axis.
fillNoText, Decimal, Integer max. 20 valuesAdd a fill variable to group the area chart based on categories within the selected column.
positionYesChoose between stack and fill Default to stackToggle between whether the area chart is stacked, or filled to the area of the plot, proportionally.
summary_functionYesChoose from none, min, max, mean, median and sum Default to noneApply a range of R summary options to the fill variables, or none.

See Also

Updated on November 2, 2022

Was this article helpful?