TabCharts.com

An on-line library for creating different chart types in Tableau



Scatter Plot






Tableau Canvas Layout:





A scatter plot will typically have two Measures, one on the Columns and one on the Rows.

Data Set: World Indicators Data



Building a Scatter Plot


Using the World Indicators data:

     Double-click Life Expectancy Female to move it to Rows      Double-click Birth Rate to move it to Columns.
     Right-click on Life Expectancy Female on the Rows, select "Measures (Sum)" and change it to Average.
     Right-click on Birth Rate on the Rows, select "Measures (Sum)" and change it to Average.
     Double-click Country to move it to Details on the Marks card.
     Move Region to Color on the Marks card.
     Using the dropdown box on the Marks card, select "Circles".
     Move Year to Filter and select Year. Choose "2012" to filter the data to a single year (Optional).
     Double-click the y-axis and select "Fixed" and set the "Fixed Start" to 40.

You should now have a line chart similar to the image below.




Adjusting size and color



     Select Size on the Marks card and adjust the size to make the circles larger.
     Select Color on the Marks card and set Opacity to 65%.
     Select Border and pick a medium gray color.

Note - the opacity and border is a useful tool when lots of dots plot on top of each other.




Related Material:


Scatter Plot with Size
Z-Order in Tableau by Jeffrey A. Shaffer (how to control the order of dots on top of each other)


Return to the TabCharts.com chart gallery