enhancement: Showcase examples for the charts and data displays
Back to our planProblem
The chart and data display components are not in the showcase yet.
Proposed fix
An examples file beside each component in these reference groups: charts (every chart type the registry has, with its options and when to use which), activity maps, shares, whole bill, key facts. Each covers the component's meaningful configurations, states and behaviors (curated, not every combination), in the format the component set describes.
Existing work compared
Searched open and closed issues on 2026-11-26 (showcase, Storybook, gallery, toggle, switch, developer site, examples, theme readiness, usage, side navigation). Part of epic #1528, which replaces #1424 (owner decision 2026-11-26, recorded there). No other issue covers this step.
Acceptance criteria
- Not done: A demo page of the chart framework: every chart kind the spec allows (
units,bar,stacked,breakdown) with its options, the palettes (warm included), the caption with its certainty badge, the data table, zoom, and which adapter draws each; and one line on when to use which kind - Not done: Every component in these groups has an examples file, and the landing page shows none of them as missing
- Not done: Each example renders with an axe check
- Not done: Visual design review of their showcase pages at phone and desktop widths, light and dark
Files likely touched
src/platform/ui/chart/, src/platform/ui/
Must not touch
src/modules/, src/payload.config.ts, scripts/reference/, src/app/
Open questions
None.
Area
frontend
Priority
priority: medium
Generated by Claude Code, opens in a new tab