Wednesday, September 22, 2021

Data Analytics and Visualization Using Tableau: Bump Chart

 The bump chart is one good line chart to show changes in the ranking of multiple items over time.

The objective is to create a bump chart similar below:



The data on Electronics export is shown below:

The Pivoted data:


Step 1. Drag the "Year" discrete to the columns shelf and "Million in Export" measure to the rows shelf then drag "Export" to color in the Marks. Then click "Sum (Million in Export) and select "Quick Table Calculation" - "Rank".




Step 2. Click "Sum (Millions in Export) and select " Compute using"- "Export".






Step 3. Press CNTRL and drag to drop " Sum (Millions of Export)" pill in the Rows shelf to the right. This will duplicate the object with all settings applied.



Step 4. Change to Circle the type of chart of the second "Sum (Millions in Export)". Click Label on Marks and then check "Show Mark Label" and adjust the alignment.


Step 5. Right-click the second pill "SUM (Millions in Export) " in Rows and select Dual Axis.



Step 6. In the second "Sum (Millions in Export) in the Marks card, Check "Show Mark Label" and align the circle in "Middle Center".




 Step 7. Hide the "Field Labels in Column", Remove Title under "Axis Title", check "Reverse" and check "None" under "Major Tick Marks". Rotate the Label.


The final Bump Chart is now shown.






If we look at the bump chart, the export fluctuated between 2010-2013 covering all export except transformers and resistors. Resistors were the top export from 2009 to 2017 but were overtaken by resistors from 2018 up to date. Transformers continue to be the sluggard in the exports of electronics ranking 7th from 2009-2020.


Arnel Lopez Cadeliña, MBA, RREA, CFA (Investment Foundation)

Tableau Author.



No comments:

Post a Comment