> For the complete documentation index, see [llms.txt](https://docs.exploratory.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.exploratory.io/visualization/features/small-multiple.md).

# Repeat By

With Repeat By, you can show multiple charts by groups at a time on the same chart area. It is useful to capture/compare the trends and characteristics of groups at a glance.

![](https://2850417076-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4HLCK3olgduYoe3RVS%2F-M4oMvCUDQwHTJ0eWi_f%2F-M4oNBUyDWbF5TtE7kuF%2Fsm.png?generation=1586795477362811\&alt=media)

The Repeat By feature is available for following chart types.

* Bar
* Line
* Area
* Histogram
* Scatter (No Aggregation)
* Scatter (With Aggregation)
* Error Bar

## Using Repeat By

You can assign a column you want to group by and repeat at the Repeat By control. Values in the assigned column are treated as discrete values (as text).

![](https://2850417076-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4HLCK3olgduYoe3RVS%2F-M4oMvCUDQwHTJ0eWi_f%2F-M4oNBV-dVIH707UoPFC%2Fsm-assign.png?generation=1586795476954800\&alt=media)

## Repeat By Y-Axis Columns

If you assign multiple columns to Y-Axis, you can treat those columns as groups and repeat the chart by those columns.

![](https://2850417076-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4HLCK3olgduYoe3RVS%2Fsync%2F820e78f881aa095f9689fe081ebbd3acb51325fb.png?generation=1607110147607446\&alt=media)

You can choose "(Each Y Axis)" option shows up in the Repeat By dropdown. This option shows up when you have assign multiple columns to Y-Axis.

![](https://2850417076-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4HLCK3olgduYoe3RVS%2Fsync%2Fefe3af6561e87d3d18334c8d61c6491c2e45b722.png?generation=1607110147624159\&alt=media)

## Sort Order

The sorting order of the charts is ascending. If you assign a factor column to the Repeat By, it respects the order of factor levels.

## Options

You can open the Repeat By property dialog by clicking the gear icon at the Repeat By control.

![](https://2850417076-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4HLCK3olgduYoe3RVS%2F-M4oMvCUDQwHTJ0eWi_f%2F-M4oNBV1OBc55esrRhYX%2Fsm-toggle.png?generation=1586795476781584\&alt=media)

Following options are available on the Repeat By property dialog.

* Number of Columns
  * Auto
  * Static (1 - 15)
* Fill All Charts in Viz Area
* Sync Scales Among Charts

![](https://2850417076-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4HLCK3olgduYoe3RVS%2F-M4oMvCUDQwHTJ0eWi_f%2F-M4oNBV3ED1bgrivKz8u%2Fsm-dialog.png?generation=1586795476980761\&alt=media)

## Links

Take a look at following articles for more details about the Repeat By.

* [Quick Introduction to Small Multiple Charts in Exploratory](https://blog.exploratory.io/quick-introduction-to-small-multiple-chart-6386745034bc)
