Line Chart

This layer allows you to add a line chart to your current visualization. Each observation of the dataset corresponds to a node, according to the associated X and Y coordinates. All of these nodes will be connected by segments, constituting the line chart. A group variable can be entered by the user, thus allowing him to link characteristics to this variable.

linechart


Configure a line chart in ZENPLOT®

In order to create a line chart in ZENPLOT®, you need to fill in:

  • The dataset you want to use
  • The variable corresponding to the coordinates of the x-coordinates of the nodes (X)
  • The variable corresponding to the coordinates of the ordinates of the nodes (Y)
  • The variable corresponding to the groups (optional)

The coordinates on the x-axis can be qualitative or quantitative, the coordinates on the y-axis are inevitably quantitative. The group variable is inevitably qualitative.

Customize a line chart in ZENPLOT®

You can easily customize:

  • Line thickness
  • Line type
  • Line color

In ZENPLOT®, 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 lines of the layer will have the same style applied for that characteristic (the same color, the same thickness, or the same type of line).

By binding the characteristic to a variable in the dataset

In this case, all the lines in the layer will have a different style for this 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.

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

Ideas for visualizations with a Line Chart

Here are some ideas of visualizations in which you will use the Line Chart layer:

  • Scree plot
  • Parallel coordinates plot