Lollipop Plot Tableau Tutorial

Lollipop Plot

Lollipop Plots are an alternative to bar charts/histograms. Lollipop plots are a type of dot plot and are called lollipops after the candy.

Data for Tutorial

Click here to download the Lollipop Plot tutorial data file. This data is from The Demographic and Health Surveys Program.

Making Lollipop Plots

Step 1: Connect data to Tableau Public.

• Load sample data file by clicking on “Microsoft Excel” in the Connect panel within the Tableau Public home screen.

• Select the file named “Lollipop Plot_Benin_Stunting_DHS.xlsx” downloaded above.

Step 2: Assign data.

• Click on the worksheet tab at the bottom of the screen. You will build your data visualization within this worksheet.

• In the Dimensions section, drag “Department” to the Rows field. In the Measures section, drag “Stunting” to the Columns field.

Step 3: Create lines and circles.

• While holding the “Ctrl” key (PC) or “⌘” key (Mac), click on “Measure Values” button in the Columns field and drag the button next to the existing “Measure Values” so that there are two “Measure Values” buttons.

• In the Marks section, click on the first “Measure Values.” Click the down arrow next to the default “Automatic” setting and select “Bar.” Click on the “Size” button and reduce line width. 

• In the Marks section, click on the second “Measure Values.” Click the down arrow next to the default “Automatic” setting and select “Circle.” Click on the “Size” button to change circle size.

• Click the down arrow next to the second “Measure Values” in the Columns field. Select “Dual Axis.”

Step 4: Format axes.

• Right click the top horizontal axis (PC) or hold the control key while clicking on the top horizontal axis (Mac) and select “Synchronize Axis.” Deselect “Show Header.”

Step 5: Add titles.

• To specify a title for your data visualization, double click “Sheet 1.”

• To change an axis title, double click on the existing axis title. 

Formatting Tips

Changing Colors

In the Marks section, click the “Color” button within either the line or circle “Measure Values” to change colors of lines or circles. 

Saving Your Worksheet to Tableau Public

Click File, “Save Workbook to Tableau Public.” Your data visualization will be published to your Tableau Public account, which will open within your web browser.

Downloading and Sharing Your Data Visualization

While your data visualization is open in your web browser, click on the rectangle/arrow button (second button from the right) at the bottom to download your data visualization.

Click on the dots/line button (third button from the right) to get a direct link to your data visualization or download embedded code to place your data visualization on a website.

%d bloggers like this: