Get startedGet started for free

Another dimension for scatter plots

If you have a scatter plot, but want to distinguish the points in some way based on another variable, then you have a few options. As discussed in the video, 3D plots are usually dreadful on a 2D screen, but there are other options to stick to x-y axes and still visualize the third dimension. You can change the color, size, transparency or shape of the points, or split the plot into multiple panels.

Here you can see the dataset of house prices in Los Angeles county, USA, that you first encountered in Chapter 2.

Explore different options for distinguishing points from the four cities, then determine which statement is false.

This exercise is part of the course

Understanding Data Visualization

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise