Enabling the Trellis Option

Trellis charts are grouped sets of visuals that represent different partitions (segments) of the dataset in the same chart type, scale, and axes. This makes the comparison of sub-groups very intuitive. Trellis charts are sometimes called lattice charts, grid charts, panel charts, or small multiples.

Tips:
  • Any chart type that uses the X and Y axes explicitly may be trellisable, depending on the dataset. What is required is an extra entry on either the X or Y shelf; the first field on the shelf represents the segment definition of the trellis, and the second field is the actual dimension.
  • Some charts types have optional X and Y shelves so that trellises may be enabled.
  • Some datasets may be double trellisable — you could declare a partition on both X and Y shelves at the same time.

For example, in the World Life Expectancy dataset, the field un_region can be such a partition. Placed on the X shelf along with the year field, it creates a trellised version of a simple line chart.

Simple Line Chart
Trellised Line Chart

Similarly, you can make a trellis for many of the charts where the X and Y shelves are optional, by placing the field that represents the partition on an otherwise empty shelf. In the following visual, the mandatory shelves are Geo and Measures. Adding un_region to the X shelf creates a trellis.

Trellised Map

You can take it one step further, and define a secondary trellis for select years on the Y shelf. Note that we used the year field both on the Y shelf and on the Filters shelf, selecting years 1910, 1960, and 2010 to demonstrate the comparable populations across continents and across years.

Double-Trellised Map

You can find thorough examples of creating trellised charts in the following articles:

  1. Trellised Area Chart
  2. Trellised Area chart with an Independent Scale
  3. Trellised Map Chart