Define the fields that will be used to compose rows and columns of a
set of small multiples. This is used where the encoding of the
visualization in small multiples is largely identical, but the data
field used in each might vary. When a list of fields is identified
with
repeat you also need to define a full specification to
apply to each of those fields using
asSpec.
Unlike
faceting, which creates multiple charts based on
different values of a single field,
repeating uses a different
field for each chart.
See the
Vega-Lite documentation for further details.
toVegaLite
[ repeat [ColumnFields ["Cat", "Dog", "Fish"]]
, specification (asSpec spec)
]
See also
repeatFlow.