Time Line Chart (Milestones)
Chronological milestone timeline chart with step progressions, date markers, and release phase indicators.
◆Milestone Roadmaps with Step Interpolation
Using type='stepAfter' creates a stepped progression line that stays flat until a new milestone tier is unlocked, visually communicating sprint releases, funding rounds, or product phases.
<Line type="stepAfter" dataKey="completion" stroke="#00e5a0" strokeWidth={3} dot={<CustomMilestoneDot />} />◆Reference Dots for Event Annotations
Use Recharts ReferenceDot or custom SVG markers to pin key company milestones directly to coordinates on the timeline.
<ReferenceDot x="Q3 Launch" y={75} r={8} fill="#00e5a0" stroke="#0b0d0f" />A Time Line Chart (Milestones) is ideal for developers and designers who need to display data clearly and effectively. Use this chart type when:
- ✓Showing trends over time (e.g. daily active users over 30 days)
- ✓Comparing multiple metrics on the same timeline
- ✓Displaying continuous data like temperature, stock prices, or heart rate
- ✓Highlighting growth rates and momentum
What is a timeline chart (milestone roadmap chart)?
A timeline chart visualizes project phases, feature releases, or historical events across a linear chronological axis. By pairing stepped lines with custom milestone markers, teams can track deliverables against key target dates.
How do you build a milestone timeline chart in Recharts?
Combine <Line type='stepAfter' dataKey='progress'> with custom dot components, or use <ComposedChart> with <ReferenceDot> components to place interactive milestones at specific coordinate dates.
How do you make a timeline chart responsive?
Wrap the chart in Recharts <ResponsiveContainer width='100%' height={360}> and format the <XAxis> with abbreviated date strings (e.g. 'Q1 24', 'Apr 24') or interval='preserveStartEnd' to prevent text overlap on mobile screens.