EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Free Courses
  • Certification Courses
  • 360+ Courses All in One Bundle
  • Login
Home Data Science Data Science Tutorials Tableau Tutorial Line Chart in Tableau
Secondary Sidebar
Tableau Tutorial
  • Charts
    • Tableau Charts
    • Tableau Bar Chart
    • Tableau Chart Types
    • Donut Chart in Tableau
    • Tableau Gauge Chart
    • Funnel Chart in Tableau
    • Gantt Chart in Tableau
    • Bubble Chart in Tableau
    • Pareto Chart in Tableau
    • Sankey Chart In Tableau
    • Stacked Bar Chart in Tableau
    • Tableau Bullet Chart
    • Waterfall Chart in Tableau
    • Line Chart in Tableau
    • Heat Map in Tableau
    • Histogram in Tableau
    • CrossTab in Tableau
    • Treemap in Tableau
    • Trend Lines in Tableau
    • Tableau Reference Lines
    • Tableau Dual Axis
    • Legend in Tableau
    • Pie Chart in Tableau
    • Tableau Storyline
  • Basic
    • What is Tableau
    • What is Tableau Dashboard
    • What is Tableau Server
    • Uses of Tableau
    • Tableau Versions
    • Tableau Architecture
    • Is Tableau Free
    • Tableau New Features
    • How To Install Tableau
    • How to Use Tableau?
    • Install Tableau Server
    • Tableau Commands
  • Statement
    • Tableau IF Statement
    • Case Statement in Tableau
  • Functions
    • Tableau Functions
    • Tableau String Functions
    • Concatenate in Tableau
    • Rank Function in Tableau
    • Tableau Aggregate Functions
    • Window Sum Tableau
    • LOD Expressions in Tableau
    • LOOKUP Function in Tableau
    • Tableau Fixed Function
    • Tableau Count Distinct
    • Tableau Window Functions
  • Sort/Filters
    • Sorting in Tableau
    • Filters in Tableau
    • Types of Filters in Tableau
    • Tableau Action Filter
    • Context Filter in Tableau
    • Tableau Parameter Filter
    • Adding Filters in Tableau Dashboard
    • Tableau Context Filter
  • Tableau Dashboard
    • Dashboard in Tableau
    • Tableau Dashboard Examples
    • Tableau Dashboard Creation
    • Tableau Dashboard Design
    • Tableau Workbook
  • Advanced
    • Tableau Bins
    • Tableau 3D
    • Tableau Export to Excel
    • Tableau Reporting
    • Tableau Reader
    • Tableau Map
    • Tableau Viewer
    • Tableau Prep Builder
    • Tableau Bridge
    • Tableau Tooltip
    • Tableau Hyper
    • Tableau Zen Master
    • Tableau Union
    • Tableau Templates
    • Tableau Alerts
    • Tableau Reporting Tool
    • Conditional Formatting in Tableau
    • Tableau Web Data Connector
    • Tableau BI Tool
    • Data Blending in Tableau
    • Parameters in Tableau
    • Tableau Data Sets
    • Creating Set in Tableau
    • Tableau Drill Down
    • Tableau Dynamic Parameters
    • Tableau Table Calculation
    • Tableau Visualization
    • Tableau Joins
    • Pivot in Tableau
    • Data Visualization With Tableau
    • Forecast in Tableau
    • Map Layers in Tableau
    • Group in Tableau
    • Tableau Group by
    • Hierarchy in Tableau
    • Sets in Tableau
    • How to create a Set in Tableau
    • Tableau Order of Operations
    • Tableau User Group
    • Tableau Calculated Field
    • Custom SQL in Tableau
  • Interview Questions
    • Tableau Interview Questions

Related Courses

Tableau Certification Course

Business Intelligence Courses

Data Visualization Courses

Line Chart in Tableau

By Priya PedamkarPriya Pedamkar

Line Chart in Tableau

Overview of Line Chart in Tableau

The chart refers to a graph in which we take measure along one axis and dimension along another. This can be discrete as well as continuous plots. The pair of values for each observation becomes a point and joining of all these points creates a line showing the relationship between the 2 axes. This is called a line chart. In this topic, we are going to learn about the Line Chart in Tableau.

If we have continuous data and we would like to represent through a chart then, the line chart is a good option. This kind of graph is very much required when we try to identify trends or patterns in our data to know the seasonal effect and large change over time. To represent the Time Series data line chart is very much required.

This is the basic line chart created in excel for better understanding. Below it describes the maximum temperature according to the given year and we have plotted that in the line chart.

Line Chart in Tableau 1

Start Your Free Data Science Course

Hadoop, Data Science, Statistics & others

Visualization in tableau

Data visualization is the presentation of data in a pictorial or graphical format. It is easy for us to see analytics in graphical form which enables us to grasp difficult concepts and identify new patterns. With the help of interactive visualization, we can take down concepts into the deeper drill down for more details.

We can make 2 kinds of Line chart.

All in One Data Science Bundle(360+ Courses, 50+ projects)
Python TutorialMachine LearningAWSArtificial Intelligence
TableauR ProgrammingPowerBIDeep Learning
Price
View Courses
360+ Online Courses | 50+ projects | 1500+ Hours | Verifiable Certificates | Lifetime Access
4.7 (86,471 ratings)

i) Single/Simple line chart

ii) Multiple line chart

Single/simple line chart

A simple line chart shows the relationship between the dependent and independent values of a single set of data.

For the demonstration part in Tableau, we are going to use the below dataset in which data refers to the selling of items by some representatives in different regions with the number of products sold along with the unit price of it.

When we connect tableau with the .csv file, then automatically tableau will divide the dimensions and measures into different sections. In the columns (x-axis) we took ‘Representative’ and in the rows ( y-axis) ‘units’ have been taken for the visualization purpose in the below example (We just need to drag the measures and dimensions into columns and rows). In the “Marks” section we need to select the ‘Line’ for viewing the graph as a line chart.

NB – In the marks section we can set up which kind of graph we want. In the drop-down box, we have a bar plot, area plot, line plot, square plot and pie plot, etc. Based on our requirement we can choose options from them.

Line Chart in Tableau 2

(This is a discrete single Line chart)

According to our input data tableau has drawn the line chart for us. To show the heading on the graph we need to drag the ‘Units’ from the measures onto the ‘Label’ as the arrow pointing towards in the above screenshot.

This graph tells us about the number of units sold by each representative.

Multiple line chart

A multiple line chart shows the relationship between the dependent and independent values of multiple sets of data.

Example #1

This multiple-line chart is very much required when we have more subcategories or in the case of a multi-dimensional variable.

In this example, we have taken the ‘Order date’ in the x-axis and ‘Units’ in the y-axis. After extending the Order date year into months, we have dragged the ‘region’ from dimension into the color section as pointed below, then it creates multiple line charts stating the sum of units sold in every month segregated by region.

Blueline for the central region, Orange for East and Red for West region.

Line Chart in Tableau 3

Example #2

This dataset is about unemployed history over a period from 2005 to 2015 for many age groups like 16-19, 20-24, etc. With the help of the line chart in tableau, we are going to show for every certain age group what the unemployment history was over this period.

We have taken the “Period” – dimension in the columns and “Unemployed”- measures in the rows. The “age” – dimension has dragged onto the color section for the sub-category line plot for each age group.

Dimension

unemployment history

Here we can see the distribution of unemployment for each age group for the given period

NB: When the ‘mark’ has set to ‘automatic’, tableau gives the plot which best describes the data. Here tableau will automatically throw this type of line chart as a bar plot is not the best suitable for gaining insight from this kind of data.

With Continuous Data

All those examples we have seen yet in this article are with discrete data. Let’s create another example of a line chart with continuous data.

As in this article many times we have come across discrete and continuous data, I would like to give one brief definition about them. Discrete data can take only particular values. They may be an infinite number but each is distinct and there is no grey area in between. This may be numeric like the number of apple/population strength or categorical like male or female, red or blue, etc. Continuous data are not restricted to define separate values but can occupy any value over a continuous range. Between any two continuous values, there may be infinite others.

This is the dataset of startup expansion in a different region with market spend and revenue amount. We will plot a line chart between market spend & revenue.

revenue chart

This chart shows us the pattern between the market’s spend and revenue. Both the variables are numerical and many points are present between two data.

Another Way of Creating Line Chart

Apart from this way, there is another way of creating a line chart in Tableau. In the top right corner of Tableau screen, a “Show me” option is available. In that drop-down, we can select many kinds of plots for visualizing our data. In the below screenshot highlighted section creates a line chart for us.

Step-1: We need to click on below-marked section –  “Show me”

show me marked section

Step-2: Among the below-marked section we can choose one based upon our data whether data is continuous or discrete.

continuous or discrete data

Recommended Articles

This is a guide to Line Chart in Tableau. Here we discuss the basic concept with visualization in tableau with Single and Multiples Line Chart Examples in detail. You may also look at the following article to learn more –

  1. Tableau Alternatives
  2. Best Data Visualization Tools
  3. Data Analysis Tools
  4. Data Science Career
Popular Course in this category
Tableau Training (8 Courses, 8+ Projects)
  8 Online Courses |  8 Hands-on Projects |  55+ Hours |  Verifiable Certificate of Completion
4.5
Price

View Course

Related Courses

Business Intelligence Training (12 Courses, 6+ Projects)4.9
Data Visualization Training (15 Courses, 5+ Projects)4.8
0 Shares
Share
Tweet
Share
Primary Sidebar
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Database Management
  • Machine Learning
  • All Tutorials
Certification Courses
  • All Courses
  • Data Science Course - All in One Bundle
  • Machine Learning Course
  • Hadoop Certification Training
  • Cloud Computing Training Course
  • R Programming Course
  • AWS Training Course
  • SAS Training Course

ISO 10004:2018 & ISO 9001:2015 Certified

© 2022 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Data Science Course

SPSS, Data visualization with Python, Matplotlib Library, Seaborn Package

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Data Science Course

Hadoop, Data Science, Statistics & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more