Layout

Items in a collection can be positioned using a layout. Data Illustrateur provides the following layouts: grid, stack, pack, treemap, and none. You can change the layout applied to a collection through the control in the Property Inspector panel.

Grid Layout

By default, shapes generated using the repeat operation are placed in a grid layout. Parameters of a grid layout include: number of rows, row gap, number of columns, column gap, horizontal & vertical gravity. The gravity parameters determine if the shape inside each grid cell is aligned to the left, center, right, top, middle or bottom of the cell. In Data Illustrateur, all the parameters can be changed through the controls in the Property Inspector. In addition, the row gap and column gap can be changed by dragging the pink rectangles between the grid rows and columns.

Stack Layout

By default, shapes generated using the divide operation are placed in a stack layout. Parameters of a stack layout include: orientation, horizontal & vertical gravity. The gravity parameters determine if the shape inside each grid cell is aligned to the left, center, right, top, middle or bottom of the cell. In Data Illustrateur, all the parameters can be changed through the controls in the Property Inspector.

Pack Layout

The pack layout is applicable to a collection of circles, as shown in the figure below.

divide by data

Treemap Layout

The treemap layout is applicable to a collection of rectangles, as shown in the figure below.

divide by data

None

You can also change the layout of a collection to “None”, doing so will allow you to freely move the shapes around, and apply data encodings to the shapes' visual properties.