Element: #192 Grouped and stacked (charts/bar) What it shows: A bar chart with Grouped and Stacked buttons that switch the same two-year quarterly data between layouts. When to use: Letting users flip between comparing values side by side and seeing the combined total. Spec: - `let mode = $state<'grouped' | 'stacked'>('grouped')` drives the layout - Two ` (mode = 'grouped')}` and `onclick={() => (mode = 'stacked')}` set the mode - ` import { Card, Flex, Button } from '@codeatlasdev/ui'; import { BarChart } from '@codeatlasdev/ui/charts'; const fmt = (v: number) => `$${(v / 1000).toFixed(0)}k`; let mode = $state<'grouped' | 'stacked'>('grouped');