The series, Tableau charts has always focused on one thing, helping Tableau users learn how to create different charts and graphs hence equipping them with different techniques of telling each data story.
Inspired by the mission of this series, we'll learn how to build a Area chart in Tableau using Superstores data set pre-loaded in Tableau App.
Tableau area chart is one of the simplest chart to build in Tableau. In this post our goal is to present Product Segment performance in Sales for different Months of the Year using a simple area chart.
Lets build our chart.
Drag dimension Order Date to the Columns shelf. (Choose Month as the level of detail).
Drag measure Sales to the Rows shelf. (Note Sales is aggregated by SUM())
Change the chart type to Area under marks card.
See the resulting chart.
Lets add Product Segment to the view, by dragging it to the color tab under marks cards.
Note; Above is our final Area chart. This presents product Segment stacked on top of each other (stacked area chart). This is not the sole way of presenting area charts, sometimes you might be interested in presenting product Segment as single entities on the scale instead of stacking them.
To do this,..
See the results.
Lets do some formatting. (actions taken).
Make the chart dual.
Change the second chart to Line chart, retain the first chart as an Area chart.
Do some color adjustments.
Formatting text colors and fonts.
Change the background color.
From our final results, one can tell on the flight that the Consumer segment has remained the champion in Sales in most of the months except October when Corporate segment took some lead. While Home Office segment has lagged behind in most of the months, except in the month of March when Sales performance exceeded that of Corporate segment by a smaller margin.
I hope this article was helpful to you.
Thanks for reading.