Skip to content

[Frontend] — Interactive Chart Empty and Loading States #1578

Description

@Olowodarey

Problem
interactive-chart renders axes even with no data, showing a misleading empty plot.

Requirements

  • Explicit loading skeleton and empty ("no data yet") states.
  • Guard against single-point series that break scaling.
  • Accessible summary text of the series for screen readers.
  • Tests: empty and single-point inputs render safe states.

Acceptance Criteria

  • The chart degrades gracefully with little or no data. Covered by tests.

Files

  • frontend/src/component/ui/interactive-chart.tsx
  • frontend/src/component/ui/skeleton.tsx
  • frontend/src/component/ui/empty-state.tsx

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions