Search⌘ K

Select Items with an 'IF' Statement

Learn how to use “if” statements to select items using the scatterplot example.

We'll cover the following...

The ‘if’ statement

The Filtering lesson is a good way to adapt what you see on a graph, but so is a more familiar friend: the ‘if’ statement.

An if statement will act to carry out a task in a particular way, depending on a condition that you specify.

Here’s an example: what if we ...