Skip to content

fix: orbital speed distribution histogram rendering out-of-bounds bars for speeds > 25 km/s #2077

Description

@SourabhX16

Problem Statement

High-velocity hyperbolic asteroids (>25 km/s) overflow max bin index in SpeedHistogram.tsx, placing data in undefined array index.

Why It Matters

Histogram chart breaks layout or omits fast-moving orbital objects.

Expected Behaviour

Histogram binning logic should include an overflow '25+ km/s' catch-all bin.

Acceptance Criteria

  • Histogram includes overflow bin for objects exceeding 25 km/s.
  • No undefined index errors in bin distribution calculation.
  • Chart layout intact.

Likely Affected Files / Components

  • src/components/SpeedHistogram.tsx

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions