Table of content

Line Chart in Tableau

The line chart, or line graph, is another method for displaying data in Tableau. As it connects several distinct data points, presenting them as one continuous evolution.

  • Open Tableau and click on Connect to Data.
    connect-to-data-tableau
  • Then the Connect page will open, click on Microsoft Excel.
    click-on-connect-to-data-excel-file-tableau
  • Navigate to the downloaded files, select Sample Superstore.xls excel file, which is a saved excel file, and click on Open.
    connect-sample-superstore-to-tableau
  • You can download a Sample Superstore.xls file from the link: https://chercher.tech/files/
  • Once the data source has been connected, open a new worksheet by clicking on sheet1.
    naviagte-to-sheet1-tableau
  • Sample Superstore.xls excel file contains the below details.
    sample-superstore-excel-file-tableau
  • Choose one dimension and one measure value to create a simple line chart.
  • Drag the dimension Ship Mode to Columns Shelf and Sales to the Rows shelf.
  • Choose the Line chart from the Marks card.
  • You will get the following line chart, which shows the variation of Sales for different Ship modes.

simple-line-graph-tableau

You can use one dimension value with two measure values, this will result in a multiple line graph in a single pane as below. Each pane represents the variation of the dimension with one of the measures.
multiple-line-graph-tableau

0 results
Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions