diff --git a/plots/subplot-grid/specification.md b/plots/subplot-grid/specification.md new file mode 100644 index 0000000000..892abbc1f6 --- /dev/null +++ b/plots/subplot-grid/specification.md @@ -0,0 +1,27 @@ +# subplot-grid: Subplot Grid Layout + +## Description + +A customizable grid of multiple subplots allowing different plot types in each cell, with shared or independent axes. Unlike faceted plots that repeat the same visualization for data subsets, subplot grids enable combining distinct visualizations (scatter, line, bar, histogram, etc.) into a cohesive multi-panel figure for comprehensive data presentation. + +## Applications + +- Dashboard-style visualizations combining multiple metrics in a single figure +- Scientific publications requiring related but distinct plots side-by-side +- Exploratory data analysis comparing different visualization approaches +- Technical reports showing complementary views of the same dataset + +## Data + +- `x` (numeric or categorical) - Primary variable for each subplot +- `y` (numeric) - Secondary variable for each subplot +- Size: Varies per subplot, typically 20-200 points per cell +- Example: Financial dashboard with price line chart, volume bars, and returns histogram + +## Notes + +- Grid dimensions should be configurable (e.g., 2x2, 2x3, 3x1) +- Support both shared axes (for comparison) and independent axes (for different scales) +- Each cell can contain a different plot type +- Consistent spacing and alignment across all subplots +- Clear titles or labels for each subplot to identify its content diff --git a/plots/subplot-grid/specification.yaml b/plots/subplot-grid/specification.yaml new file mode 100644 index 0000000000..6ce44fcc0a --- /dev/null +++ b/plots/subplot-grid/specification.yaml @@ -0,0 +1,31 @@ +# Specification-level metadata for subplot-grid +# Auto-synced to PostgreSQL on push to main + +spec_id: subplot-grid +title: Subplot Grid Layout + +# Specification tracking +created: 2025-12-30T17:27:39Z +updated: null +issue: 2782 +suggested: MarkusNeusinger + +# Classification tags (applies to all library implementations) +# See docs/concepts/tagging-system.md for detailed guidelines +tags: + plot_type: + - subplot + - grid + - multi-panel + data_type: + - numeric + - categorical + domain: + - general + - science + - business + features: + - multi + - layout + - customizable + - composite