-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Description
When multiple events occur in the same year or time period, they can overlap and become unreadable. The component should support automatic clustering with expand-on-click behavior.
Use Case
In 1960, the AFL was founded with multiple charter teams (Bills, Patriots, Broncos, etc.) and the Cowboys joined the NFL. These events stack on top of each other, making labels difficult to read.
Proposed Solution
- Add
clusteringprop with options:'auto' | 'manual' | 'none' - When clustered, show a count badge (e.g., "+5 events")
- Clicking a cluster expands to show individual events in a popup or stacked view
- Allow
clusterThresholdto configure proximity sensitivity
Example API
<Timeline
data={data}
clustering="auto"
clusterThreshold={{ days: 365 }} // cluster events within 1 year
/>Issue generated from user feedback while building an NFL history timeline
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels