Data 304
The syntax for layer and concat is essentially the same, the only difference is how the views are combined.
Layer = on top of
Concat = next to
Facet and repeat create small multiples.
To create a faceted view,
See documentation for additional facet properties.
Basic format is similar to the facet operator.
In multi-view graphics, we may need to resolve some differences among the scales and guides (axes and legends) of the different views.
Two resolution options: independent (each view does its own thing) or shared (coordinated among multiple views).
layer, r/c facet | concat, repeat | |
---|---|---|
position | share | independent |
non-position | share | share |
Here’s the outline for a concat composition.
Put these in a quarto document, render them to HTML, and publish them on your website.
Create a graphic that uses concatenation.
Create a graphic that uses layers.
Create a graphic that uses layers and facets.
Create a graphic that uses repeat.