Table of content

Bump Chart in Tableau

The Bump Chart is used to compare two dimensions of values against each other using one of the Measure value. The bump charts are very useful for exploring changes in the Rank of a value over a time dimension or place dimension or some other dimension relevant to the analysis.

The Bump Chart takes two dimensions with zero or more measures. I am using the Sample-superstore data source to demonstrate bubble chart, to find the variation of Ship mode of products with the variation of the Sub-Category.

Follow the below steps in the Tableau worksheet :

  • 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
  • The Sample Superstore excel file contains the below details.
    sample-superstore-excel-file-tableau
  • Drag and drop the dimension Sub-Category to the Columns shelf.
  • Next, drag the dimension Ship mode to the Color shelf under the Marks card.
  • And, leave the chart type to Automatic. The following chart appears.
    bump-chart-tableau
  • Next, create a calculated field called Rank.
  • Go to Analysis:
    • Select Create Calculated Field.select-create-calculated-field-tableau
    • Use Rank as the field name and write the expression Index() in the calculation area.
      default-table-calculation-tableau
    • It is an inbuilt function that creates an index for the current row in the partition.
    • Click OK and the new field will be visible in the measures section.
    • Right-click on the field Rank and Select convert it to discrete.
      right-clikc-rank-convert-to-discrete-tableau
    • Now drag the Rank measure to the row shelf, the following chart appears.
      discrete-map-with-measure-rank-tableau
0 results
Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions