Introduction to Facet plots
masterFacet plots use G2's recursive view nesting capability to split a dataset into multiple subsets based on specific dimensions. Each subset is then rendered into a pane within a chart matrix. This is a powerful tool for exploratory data analysis to compare patterns across different data subsets.
Supported facet types include:
| Facet Type | Description |
|---|---|
rect | Default type. Uses 2 dimensions to form a row/column matrix. |
list | Uses 1 dimension. You can specify the number of columns per row; extra items wrap automatically. |
circle | Uses 1 dimension to distribute charts along a circular layout. |
tree | Uses multiple dimensions, where each dimension acts as a level in a tree structure to expand multi-layer charts. |
mirror | Uses 1 dimension to create mirrored charts. |
matrix | Uses 1 dimension to form a matrix facet. |