Basic Area Chart
Fill beneath a line to emphasize accumulated magnitude and volume over time. Create area charts with custom colors, gradients, and opacity controls — free online in our line graph maker.
Line Chart Types/Area & Stacked/Basic Area
Fill beneath a line to emphasize accumulated magnitude and volume over time. Create area charts with custom colors, gradients, and opacity controls — free online in our line graph maker.
An area chart is a line chart with the region below the line filled in, adding visual weight that emphasizes magnitude. Use it when "how much" matters as much as "which direction" — the filled area makes scale differences between periods immediately obvious.
x (time/category), y (value), series (optional).areaOpacity > 0 to fill under a line.areaOpacity (0.4–0.7 recommended for single series).enableGradient for a top-to-bottom fade effect.x,y,series
2025-01-01,120,Sales
2025-01-02,135,Sales
2025-01-03,142,Sales
2025-01-04,158,Sales
2025-01-05,165,Sales
2025-01-06,178,Sales
2025-01-07,185,Sales
Should an area chart always start from zero? Yes, in most cases. The filled region implies "this much," so a truncated Y-axis distorts the visual proportion. If you must truncate for readability, add a clear annotation and consider whether a plain line chart is more honest.
Area chart vs line chart — when should I add the fill? Add the fill when magnitude or volume is part of the story. A revenue chart that needs to convey "we grew a lot" benefits from fill. A chart tracking temperature where only direction matters does not. When in doubt, try both and pick the one that better answers your audience's question.
How do I handle overlapping areas for multiple series? Three approaches:
What opacity level looks best? For a single series, 0.5–0.7 gives a solid, confident feel. For two overlapping series, drop to 0.3–0.4 so both remain readable. Never go above 0.8 unless you have a single series and want maximum emphasis.
Can I use gradient fills?
Yes. A gradient that fades from the line color at the top to transparent at the bottom adds depth without obscuring the baseline. Enable it with enableGradient: true in the chart config.
When should I use smoothed area vs angular area?
Smooth (smooth: true) is better for aesthetics and presentations. Angular (default) is more honest for data where each point is a discrete measurement. Use angular for financial data and scientific measurements; use smooth for marketing dashboards and executive summaries.
How do I show negative values in an area chart? The area fills from the line down to the zero baseline, so negative values create a downward fill below the axis. Make sure your Y-axis includes zero, and consider using different colors above and below the baseline to distinguish positive and negative regions.