Tableau for Beginners - Scatter Plots
- Sam Hamill

- Nov 11, 2020
- 2 min read
Updated: Nov 14, 2020
Data Used:

GOAL: Using a scatter plot to conclude whether there is a correlation between height and weight in the Star Wars Universe.
1. The Data
It's always important to look at the fields in the data set before visualizing. By doing so, this helps us decipher the data we can create insights from, as well as whether the field names should be changed to reflect our goal. In this case, the mass field reflects the character's weight.
2. Scatter Plot Format
The first thing we want to do is to drag the pills we are looking to analyze in relation to each other. In our case, because we are looking at height and weight, we will be dragging the mass and height pills to the column and rows. After doing so, you might notice that there is only 1 plot. This is because both the pills are aggregated to find a total value for each pill, not each individual mass or individual height recorded:

In order to reveal all the individual instances of height and weight, we want to disaggregate our measures:

3. Axis Adjustments
After looking at our scatter plot, are there any adjustments you think we can make? Based off the height, it'd be safe to adjust the Y-axis so that our visualization does not include height below 50 inches. We can do this by unchecking the "include zero" box under "edit axis. Furthermore, because there is such a large gap between one plot and the rest of the data, we can can edit the "mass"axis to reflect a logarithmic scale. This will eliminate any useless points in the scatter plot:

4. Making Plot More Visually Pleasing
There are numerous ways we can approach this step. Overall, it is important to note that we want to make this information easily digestible for an audience. In doing so, we want to represent the identity of these individual values, which are the characters. This can be accomplished by dragging the names pill to the "labels"mark. In addition to this, like in our previous assignment, if we were to drag the eye color to the "color" mark, this will bring up a legend:

CONCLUSION: By editing the X and Y-axis, adding color, and labeling data our scatter plot can now be easily understood by an audience. This leads us to our conclusion that, outside of Jabba the Hutt, there is a correlation between height and weight in the Star Wars Universe.


Comments