Area Chart

This tutorial shows how to configure and customize an Area Chart layer into ZENPLOT® for your future visualizations.


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

1. Data

In this tutorial, we use the Sensory descriptors dataset.

Some products were evaluated through 17 descriptors, using a 1-5 scale (1: the product is weak for this descriptor, 5: the product is strong for this descriptor).

These same products were then evaluated on their overall liking.

Two bounds can be calculated for each descriptor:

  • The lower and upper bounds of this descriptor, all products combined: Sensory Area
  • The lower and upper bounds of this descriptor, for the most popular products: Tolerance Area

This dataset contains 34 observations, described by 4 variables:

  • Sensory Desc, qualitative variable: descriptors ID
  • Value (min), quantitative variable: the lower bounds
  • Value (max), quantitative variable: the upper bounds
  • Areas, qualitative variable: the different areas (Sensory Area and Tolerance Area)

Sources:

This dataset was built for this tutorial.

2. Configure an Area Chart layer into ZENPLOT®

To create an Area Chart layer, click on Add a layer and select the Area Chart layer.

Tutorial Area Chart step 1 Tutorial Area Chart step 2

This layer works like the Line Chart layer.

Here, we draw two lines which represent the lower and upper bounds of an area. A group variable can be filled in by the user, thus allowing him to link the characteristics of the areas to this variable

You must enter:

  • The dataset you want to use (here, Sensory descriptors)
  • The variable corresponding to the X coordinates of the nodes: a quantitative or qualitative variable
  • The variable corresponding to the Ymin coordinates of the nodes (lower bound): a quantitative variable
  • The variable corresponding to the Ymax coordinates of the nodes (upper bound): a quantitative variable
  • The variable corresponding to the groups (optional): a qualitative variable

Tutorial Area Chart step 3

3. Customize an Area Chart layer in ZENPLOT®

Once the Area Chart 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 areas of the layer will have the same style applied for that characteristic (same border or same color).

Tutorial Area Chart step 4

By binding the characteristic to a variable in the dataset

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

For the Area Chart layer, only the group variable can be linked to a characteristic.

The group variable being qualitative, a style must be chosen for each category of the variable.

Tutorial Area Chart step 5

3.1 Layer setting

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

Tutorial Area Chart step 6

3.2 Border options

3 border options are available:

  • Thickness
  • Type
  • Color

Tutorial Area Chart step 7

3.3 Filling options

Tutorial Area Chart step 8