Hiring Partners
Segilola Resources Operating LimitedTaviatech TechnologiesFCMBMTN NigeriaAdvans La Fayette Microfinance BankAboki AfricaFirst Bank of NigeriaOPay
โ† Introduction to Tableau ยท Lesson 5 of 9

Module Four

๐Ÿ“– Every lesson in this course is free to read right here, no account needed. Create a free account to track your progress, take the exam, and earn your certificate.
5

Module 4: Creating Charts and Visualisations in Tableau

Welcome to Module 4 of Introduction to Tableau! In the previous module, you learned how to connect Tableau to Excel and CSV files, understand data tables, identify data types, and prepare information for analysis. In this module, you will learn how to turn information into charts and visualisations using Tableau. Imagine you own a supermarket in Lagos. You have hundreds of sales records, and you want to know which products customers buy the most. Instead of studying every number, you can use Tableau to create charts that make the information easier to understand. Let's explore how to create different charts in Tableau!

4.1 Creating Your First Tableau Chart

A chart is a visual way of presenting information. It helps people understand numbers and discover patterns quickly.

Tableau allows you to create different types of charts by dragging fields from the Data Pane into the Rows and Columns shelves.

Example: Supermarket Sales

Imagine you have the following sales information:

Product Sales Amount (โ‚ฆ)
Rice 150,000
Bread 80,000
Milk 65,000
Noodles 120,000
Soft Drinks 95,000

You can use Tableau to turn this information into a chart showing the sales performance of each product.

Steps to Create Your First Chart

  1. Open Tableau Public or Tableau Desktop.
  2. Connect to your Excel or CSV sales dataset.
  3. Open a new worksheet.
  4. Locate the Product field in the Data Pane.
  5. Drag Product to the Columns Shelf.
  6. Drag Sales Amount to the Rows Shelf.
  7. Tableau will automatically create a visualisation based on your fields.
  8. Explore the Show Me panel to select other chart types.

Congratulations! You have created your first Tableau chart.

4.2 Building Bar Charts and Column Charts

A bar chart uses rectangular bars to compare different categories.

For example, a supermarket can use a bar chart to compare the sales of rice, bread, milk, noodles, and soft drinks.

When Should You Use a Bar Chart?

  • Comparing sales between different products.
  • Comparing examination scores among students.
  • Comparing the number of customers in different cities.
  • Comparing the performance of different departments.

How to Create a Bar Chart in Tableau

  1. Open a worksheet containing your sales dataset.
  2. Drag Product to the Rows Shelf.
  3. Drag Sales Amount to the Columns Shelf.
  4. Open the Show Me panel if necessary.
  5. Select the horizontal bar chart option.
  6. Use the Marks Card to change colours and display labels.

You should now see bars representing the sales of each product.

What Is a Column Chart?

A column chart is similar to a bar chart, but its bars usually stand vertically.

It is useful when you want to compare different categories using vertical columns.

Remember: Bar charts are usually horizontal, while column charts are usually vertical.

4.3 Creating Line Charts and Area Charts

What Is a Line Chart?

A line chart uses connected points to show how information changes over time.

Imagine a supermarket wants to understand how much money it makes every month.

A line chart can show whether sales are increasing, decreasing, or staying the same.

Example: Monthly Sales

Month Sales (โ‚ฆ)
January 100,000
February 120,000
March 150,000
April 130,000
May 180,000

How to Create a Line Chart

  1. Open your sales worksheet.
  2. Drag the Date or Month field to the Columns Shelf.
  3. Drag Sales Amount to the Rows Shelf.
  4. Open the Show Me panel.
  5. Select the line chart option.
  6. Check that the months are arranged in the correct order.
  7. Add labels or colours if necessary.

The line chart will show how sales changed from January to May.

What Is an Area Chart?

An area chart is similar to a line chart, but the space below the line is filled with colour.

It helps people understand how values change over time and can also show the size of a quantity.

For example, a business can use an area chart to display its monthly revenue throughout the year.

Difference Between Line and Area Charts

  • Line Chart: Focuses on the movement and direction of values over time.
  • Area Chart: Uses a filled area to emphasise the quantity changing over time.

4.4 Creating Pie Charts and Tree Maps

What Is a Pie Chart?

A pie chart is a circular chart divided into sections. Each section represents part of a total.

Imagine your school has 100 students. Some students like Mathematics, others prefer English, Science, or Computer Studies.

A pie chart can show how the 100 students are divided among these subjects.

Example: Favourite School Subjects

Subject Number of Students
Mathematics 30
English 25
Science 20
Computer Studies 25

How to Create a Pie Chart in Tableau

  1. Open your worksheet.
  2. Change the Marks type to Pie.
  3. Drag Subject to Color on the Marks Card.
  4. Drag Number of Students to Angle.
  5. Drag Number of Students to Label if you want to display the values.
  6. Adjust the size of the pie chart if necessary.

Tableau will create a pie chart showing the number of students who prefer each subject.

Important: Pie charts work best when you have a small number of categories that make up a meaningful total.

What Is a Tree Map?

A tree map displays information using rectangles of different sizes and colours.

The size of each rectangle represents a value. Larger rectangles usually represent larger values.

For example, a supermarket can use a tree map to compare the sales of different products.

How to Create a Tree Map

  1. Open your sales worksheet.
  2. Drag Product to the Marks Card.
  3. Drag Sales Amount to Size.
  4. Drag Product to Color if you want different colours for each product.
  5. Open the Show Me panel.
  6. Select Tree Map.

You will see rectangles representing the different products. Products with higher sales will have larger rectangles.

4.5 Building Scatter Plots

A scatter plot uses individual points to show the relationship between two numerical values.

Imagine a teacher wants to understand whether students who spend more time studying usually get higher examination scores.

A scatter plot can help the teacher explore the relationship between study hours and examination scores.

Example: Study Time and Examination Scores

Student Study Hours Examination Score
Ada 2 60
John 3 70
Mary 5 90
David 1 50
Peter 4 80

How to Create a Scatter Plot

  1. Open your student performance worksheet.
  2. Drag Study Hours to the Columns Shelf.
  3. Drag Examination Score to the Rows Shelf.
  4. Drag Student to Detail on the Marks Card.
  5. Open the Show Me panel.
  6. Select Scatter Plot.

Tableau will display individual points representing the students.

You may notice that students who studied for more hours also achieved higher scores in this small example.

However, this does not prove that studying longer always causes higher scores. Other factors may also affect examination performance.

4.6 Using Filters and Sorting Data

What Are Filters?

A filter allows you to display only the information you want to see.

Imagine a supermarket has sales records from January to December. You only want to study sales from March.

You can use a filter to display March records without showing all the other months.

How to Add a Filter in Tableau

  1. Open your worksheet.
  2. Find the field you want to filter.
  3. Drag the field to the Filters Shelf.
  4. Choose the values you want to display.
  5. Click Apply or OK.
  6. Your visualisation will update based on the selected values.

Example of Filters

A school can use filters to display:

  • Only JSS 2 students.
  • Only Mathematics results.
  • Only students who scored above 70.
  • Results from a particular examination period.

What Is Sorting?

Sorting means arranging information in a particular order.

For example, you can arrange supermarket products from the highest sales to the lowest sales.

Types of Sorting

  • Ascending Order: Arranges values from smallest to largest or A to Z.
  • Descending Order: Arranges values from largest to smallest or Z to A.

How to Sort Information in Tableau

  1. Open your chart.
  2. Select the field or header you want to sort.
  3. Use the sort buttons on the toolbar or the sorting options available for the field.
  4. Choose ascending or descending order.
  5. Check that your information is arranged correctly.

4.7 Choosing the Right Chart for Your Data

Different charts are designed for different purposes. Choosing the correct chart makes your report easier to understand.

Chart Type Best Use
Bar Chart Comparing different categories.
Column Chart Comparing values using vertical bars.
Line Chart Showing changes over time.
Area Chart Showing changes in quantities over time.
Pie Chart Showing parts of a total.
Tree Map Comparing values using rectangles of different sizes.
Scatter Plot Exploring relationships between two numerical variables.

Remember: Do not choose a chart simply because it looks beautiful. Choose one that helps people understand the information correctly.

4.8 Practical Activity: Creating a Supermarket Sales Dashboard Chart

Now it is time to practise what you have learned.

Imagine you work as a junior data analyst for a supermarket in Ibadan. Your manager wants you to study the sales performance of five products.

Dataset

Product Category Sales Amount (โ‚ฆ)
Rice Food 150000
Bread Food 80000
Milk Drinks 65000
Noodles Food 120000
Soft Drinks Drinks 95000

Your Tasks

  1. Enter the dataset into Microsoft Excel.
  2. Save the file as Supermarket_Sales.xlsx.
  3. Connect the file to Tableau.
  4. Create a bar chart showing sales by product.
  5. Create a pie chart showing sales by category.
  6. Sort the products from highest sales to lowest sales.
  7. Add labels to your charts.
  8. Use a filter to display only Food products.

Questions to Answer

  1. Which product has the highest sales?
  2. Which product has the lowest sales?
  3. Which category has higher total sales?
  4. Why is a bar chart useful for comparing products?
  5. What happens when you apply a category filter?

4.9 Key Terms to Remember

  • Chart: A visual representation of information.
  • Bar Chart: A chart that uses horizontal bars to compare categories.
  • Column Chart: A chart that uses vertical bars to compare categories.
  • Line Chart: A chart that shows changes over time.
  • Area Chart: A chart that uses a filled area to display changing values.
  • Pie Chart: A circular chart divided into sections representing parts of a total.
  • Tree Map: A visualisation that uses rectangles to represent values.
  • Scatter Plot: A chart that displays relationships between two numerical variables.
  • Filter: A tool used to display selected information.
  • Sorting: Arranging information in a particular order.
  • Show Me: A Tableau feature that suggests different chart types.

4.10 Module 4: Knowledge Check

Answer these questions to test your understanding.

  1. What is a chart?
  2. Which chart is useful for comparing supermarket products?
  3. What is the difference between a bar chart and a column chart?
  4. Which chart is suitable for showing changes in sales over time?
  5. What is the main purpose of a pie chart?
  6. What is a tree map?
  7. What information can a scatter plot help you explore?
  8. What is a filter in Tableau?
  9. What is the difference between ascending and descending sorting?
  10. Why is it important to choose the correct chart for your data?

Module Summary

In this module, you learned how to create different types of charts and visualisations in Tableau. You explored bar charts, column charts, line charts, area charts, pie charts, tree maps, and scatter plots.

You also learned how to use filters to display selected information and sorting to arrange data in the correct order.

Remember: Charts help turn complicated information into simple pictures that people can understand. The right chart can make it easier to discover useful patterns and make better decisions.

Coming Up Next: Module 5 โ€“ Working with Calculations and Data Analysis

In the next module, you will learn how to create calculated fields, perform mathematical calculations, use SUM, AVG, COUNT, MIN and MAX, work with dates, and analyse information using Tableau.

๐Ÿ† Get Certified

๐Ÿ”’

Earn this certificate

Every lesson is already free to read. Sign up, finish the lessons, pass the exam (โ‚ฆ2,000 or 20,000 coins), and get a verified certificate with your name on it.

๐ŸŽ“ Sign Up to Get Certified
๐Ÿ› ๏ธ Practice Tools
Hands-on simulators & labs - subscription required.
โ†’
๐ŸŽฏ Internship Tasks
Real-world tasks to build your portfolio - unlock them with a subscription.
โ†’