Scatter plot

This tutorial shows how to configure and customize a Scatter plot layer into ZENPLOT® for your future visualizations.

Do you want to try ZENPLOT® out? You can Download the trial version at any time!

1. Dataset

In this tutorial, we use the iris dataset.

The observations correspond to 150 Iris flowers, described by 5 variables:

  • Sepal Length, quantitative variable
  • Sepal Width, quantitative variable
  • Petal Length, quantitative variable
  • Petal Width, quantitative variable
  • Species, qualitative variable: Setosa, Versicolor ou Virginica


Fisher M. (1936). The Use of Multiple Measurements in Taxonomic Problems. Annals of Eugenics, 7, pp 179 -188.

2. Configure a Scatter Plot in ZENPLOT®

To create a Scatter Plot layer, click on Add a layer and select the Scatter Plot layer.

Tutorial Scatter Plot step 1 Tutorial Scatter Plot step 2

Each observation in the dataset corresponds to a point, based on the associated X and Y coordinates.

You must enter:

  • The dataset you want to use (here, iris)
  • The variable corresponding to the X coordinates: a quantitative or qualitative variable
  • The variable corresponding to the Y coordinates: a qualitative variable

Tutorial Scatter Plot step 3

3. Customize a Scatter Plot layer in ZENPLOT®

Once the Scatter Plot layer is created, different options are available in the options bar.

You can choose two ways to customize the characteristic of an element:

By imposing a uniform style on all elements

In this case, all the points of the layer will have the same style applied for that characteristic (same color, same size, or same shape, etc.)

Tutorial Scatter Plot step 4

By binding the characteristic to a variable in the dataset

In this case, all the points on the layer will have a different style for that characteristic depending on the value they take for the linked variable.

When binding to a qualitative variable, you must choose a style for each category of the variable.

Tutorial Scatter Plot step 5

When binding to a quantitative variable, it is necessary to define a minimum, median, and maximum value . A gradient is thus produced.

Tutorial Scatter Plot step 6

3.1 Layer setting

You can reconfigure your layer at any time (change datasets, variables, etc.)

Tutorial Scatter Plot step 7

3.2 Border options

3 border options are available:

  • Thickness
  • Type (this characteristic can only be linked to qualitative variable)
  • Color

Tutorial Scatter Plot step 8

3.3 Filling options

Tutorial Scatter Plot step 9

3.4 Size options

Tutorial Scatter Plot step 10

3.5 Shape options

This characteristic can only be linked to a qualitative variable

Tutorial Scatter Plot step 11

3.6 Linking options

This option allows you to link the points to a precise point, by entering its X and Y coordinates.

The points can also be linked together by entering linking variables.

The links thus created have the same style as point borders.

Tutorial Scatter Plot step 12

3.7 Add labels

This option creates a new Labels layer, set by default with the same X and Y coordinates as the current layer.

For more information, see How to set up and customize a Labels layer in ZENPLOT®

Tutorial Scatter Plot step 13