Lollipop Chart with Labels above the Bar
1 min readNov 7, 2023
You might be familiar with Lollipop Charts and also to display labels above the bar in the simple bar chart. How about combining them?
- Connect to Sample Superstore data. Change the Mark to a Bar.
- Drag Region to Rows and Sales to Columns. We get a Simple Bar chart.
- Write an infield calculation AVG(0). Drag AVG(0) on the X axis and then create a Shared Axis. Change Mark type to a Line.
- Drag Measure Names to Path. Drag Region and SUM(Sales) to Label. In Label, Choose Line Ends and Check Label start of line.
- Drag SUM(Sales) to Columns. Right-click on SUM(Sales) -> Dual Axis. Change the Mark to a Circle. Synchronize the Axes. If everything goes well, you should see something as shown below
Thank you for reading. Connect with me on Twitter and LinkedIn, and check out my Tableau Public profile for more visualizations.
Vignesh Suresh