Area chart

On this page 7

An area chart is a chart that plots values as a line over a continuous axis, usually time, and fills the region between the line and a baseline with color. In data visualization, it emphasizes magnitude and accumulated volume rather than individual data points, and in its stacked form it shows how parts contribute to a changing total.

Area charts are closely related to line charts, and the fill is the only structural difference. That fill changes how the chart is read: the eye judges area and height from the baseline, which is why area charts follow stricter rules about baselines and series order than line charts do.

How an area chart encodes data

An area chart encodes each value as the vertical distance between the baseline and the line. The horizontal axis is ordered and normally continuous, such as dates, hours or distance. The filled region turns a sequence of points into a solid shape, so readers perceive volume over a period, for example total traffic during a day.

Because the filled height is read as quantity, the baseline must normally start at zero. A truncated axis that is acceptable for a line chart, where readers judge slope, makes an area chart misleading because the shaded shape exaggerates differences.

The table below summarizes the elements of an area chart and the role each one plays.

ElementRoleDesign guidance
BaselineReference from which area is measuredStart at zero for magnitude
Line or upper edgeShows the exact value trendKeep a visible stroke on top of the fill
FillEncodes accumulated magnitudeUse moderate saturation or transparency
Horizontal axisOrdered continuous dimensionUsually time with regular intervals
Legend or labelsIdentifies seriesLabel areas directly where space allows
Elements of an area chart

Between data points, the upper edge is normally drawn with straight-line interpolation, which implies that values changed steadily between measurements. For quantities that change in jumps, such as prices or plan tiers, a step area is more honest. Missing periods should appear as visible gaps rather than being silently bridged by the line.

Types of area charts

Area charts come in several variants that answer different analytical questions. Choosing the wrong one is the most common source of confusing area charts.

VariantWhat it showsBest use
Simple area chartOne series filled to the baselineVolume of a single measure over time
Overlapping area chartSeveral transparent series on one baselineTwo or three series with clear separation
Stacked area chartSeries placed on top of each otherComposition of a total over time
100 percent stacked area chartShares normalized to the full heightChanging proportions, not totals
StreamgraphStacked areas around a shifting centerMany categories with an artistic overview
Range or band areaFill between a lower and upper boundConfidence intervals, minimum and maximum
Area chart variants

In a stacked area chart, only the bottom series and the total have a flat reference; every middle layer sits on a wavy base. Readers can judge the total and the lowest layer accurately, but middle layers are hard to compare over time. Placing the most important or most stable series at the bottom reduces this problem.

Area charts compared with other chart types

The area chart sits between the line chart and the stacked bar chart, and each neighbor is better for some questions. The decision depends on whether the reader needs exact trends, totals or comparisons between categories.

Chart typeStrengthWeakness compared with an area chart
Line chartPrecise comparison of many seriesShows less sense of volume
Stacked bar chartClear for few discrete periodsBreaks continuity of trends
Area chartVolume and composition over timeMiddle layers hard to read
Pie chartComposition at one momentCannot show change over time
SparklineCompact trend in a table or textNo room for composition
Choosing between area charts and alternatives

A practical rule is to use a line chart when the question is about change and comparison, and an area chart when the question is about how much has accumulated or how a total is composed. With more than about five to seven stacked series, a small-multiples layout of separate area charts is usually easier to read.

Designing clear area charts

Good area charts are simple, ordered and honestly scaled. A few rules address most readability problems.

  • Start the value axis at zero, since the filled area represents quantity.
  • Order stacked series deliberately, with the largest or most stable layer at the bottom.
  • Limit the number of colors and keep adjacent layers clearly distinguishable, including for color-blind readers.
  • Use transparency carefully in overlapping charts, because blended colors create apparent extra series.
  • Label areas directly inside or beside the shapes rather than relying only on a legend.
  • Avoid smoothing that invents values between data points or hides real spikes.

Interactive dashboards can add tooltips that show each layer’s value and the total at a hovered time point, which compensates for the difficulty of reading middle layers precisely.

Common mistakes and misreadings

Area charts are easy to produce and easy to misread. The following problems appear frequently in reports and dashboards.

ProblemEffect on the readerFix
Truncated baselineDifferences look much largerUse a zero baseline or a line chart
Opaque overlapping seriesBack series are hiddenStack them or use transparency
Too many stacked layersThin bands become unreadableGroup minor categories as other
Categorical horizontal axisImplies continuity between unrelated itemsUse a bar chart instead
Stacking non-additive measuresTotal has no meaningStack only parts of a real whole
Typical area chart problems

In everyday language

An area chart is a line chart with the space underneath colored in. The colored shape makes it easy to see how much of something there was over time, like water filling a tank and draining again.

When several colored layers are piled on top of each other, the chart shows how a total is made up, for example how much of a household’s energy use comes from heating, lighting and appliances each month. The top edge shows the total, and each band shows one part.

Seen in the real world

An energy grid operator publishes a daily chart of electricity generation by source. A stacked area chart shows hourly output from nuclear, hydro, wind, solar and gas, with the top edge equal to total demand. Nuclear, the steadiest source, is placed at the bottom so that its flat band provides a stable base, and solar sits near the top where its midday bulge is clearly visible.

Readers can see at a glance how solar output rises and falls during the day and how gas plants fill the evening gap. For questions about the share of renewables, the operator adds a second, 100 percent stacked version, because the first chart shows totals well but makes proportions harder to judge.