Implement small multiples (trellis) visualization patterns for comparing across categories.
Design a small multiples visualization for comparative analysis: Data Context: - Categories to compare: [list or count] - Variables per category: [what's being measured] - Time component: [if applicable] - Ordering logic: [alphabetical/value/custom] Small Multiples Configuration: Grid Layout: - Columns: [fixed count or auto] - Rows: [fixed count or auto] - Cell size: [dimensions] - Spacing: [between cells] - Alignment: [how cells align] Individual Chart: - Type: [line/bar/area/scatter] - Axes: [shared/independent] - Scale: [same/local] - Labels: [minimal/full] - Minimal elements: [what to remove for cleanliness] Shared Elements: - One legend for all - One set of axis labels - Consistent color encoding - Reference lines: [if applicable] Panel Labels: - Position: [top/corner/integrated] - Style: [font, size, emphasis] - Content: [category name + value] Highlighting: - Selected panel: [how to emphasize] - Comparison panel: [reference panel if any] - Mouseover behavior Responsive Design: - Reflow behavior: [how grid reorganizes] - Minimum cell size - Collapsing strategy Tool: [D3.js/Matplotlib/Tableau/ggplot2] Provide implementation with proper faceting and alignment.
Or press ⌘C to copy