Skip to content

Components: Charts #16

Closed
Closed

Description

@n4ff4h

REQUIREMENTS §22 (Charts). Base: shadcn chart (Recharts). Exported from @javaabu/onu/charts. Chart colours come from --onu-chart-*; every chart has an accessible data-table alternative; RTL mirroring where appropriate.

  • Bar graph
  • Line graph
  • Pie chart
  • Map chart (choropleth on Google Maps via deck.gl)
  • Stat tiles
  • Time-series chart
  • Period comparison chart
  • Sparkline

Merged into claude/amazing-cerf-htnpm8 (4ad4f10). 128 chart tests; coverage of src/charts 98% lines / 94% branches.

Follow-ups:

  • Verify MapChart against a real Google Maps key (only tested with mocks and the no-key placeholder)
  • Consider a separate subpath for MapChart so bar/line-only apps don't need map packages at build time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions