This lesson is still being designed and assembled (Pre-Alpha version)

Creating Charts

Overview

Time: min
Objectives
  • How to create Charts in Tableau

For this session, we will be using the Superstore dataset. We created 2 charts in the previous session using the same dataset. We will create some more visualizations in this session.

Screen Shot 2022-01-24 at 2 43 27 PM

Sales by Sub-Category–To plot the sales by sub-category, add sales to column shelf and add sub-category to the row shelf.Now, click on the ‘show me’ icon on the right side of the sheet. The ‘show me’ icon is like a cheat sheet, it gives us all the typesof graphs we can plot. It also gives the number of dimensions and measures required to plot a particular graph.We select tree map from the options. We can see the visualization is created using our data but the rows and column shelf is now empty. All the fields are moved to the mark cards.We can see from the visualization, phones and chairs have the highest sales.

Screen Shot 2022-01-24 at 2 44 31 PM

Sales Trend–Trend charts shows the behavior of a variable in data over time. To create a sales trend chart, we add order date to columns shelf and sales to row shelf.

Screen Shot 2022-01-24 at 2 45 31 PM

But the visualization does not give us so much information about the trend. We want to see month wise trend. To do that, we click on the plus sign on the order date in the columns shelf.That gives us quarterly trend. Again, repeating the process, we get monthly trend. But we only need monthly order dates. So, we remove the year and quarter from the columns shelf.We get the graph as below.

Screen Shot 2022-01-24 at 2 45 59 PM

Now, to see yearly sales trend we add order date to color mark card.It gives us the month wise trend of all years.

Screen Shot 2022-01-24 at 2 46 40 PM

Looking at this visualization, we can see month wise sales activities of all the years. From the graph we can see a peak around March, September and November.Any guesses why?

Screen Shot 2022-01-24 at 2 47 17 PM

Screen Shot 2022-01-24 at 2 50 40 PM

Next to see sales acrossstates, we add sales to colors mark card.The following visualization gives state wise sales. We can see that California has the maximum sales.

Screen Shot 2022-01-24 at 2 51 58 PM

Screen Shot 2022-01-24 at 2 52 24 PM

Key Points