Description
Create a chart to display the evolution of the codebase over time, showing how many lines of code were added and deleted. This helps identify development intensity and periods of refactoring or large features.
📊 Chart Type
- Stacked area chart (preferred)
- Alternatively, use a dual-line chart (one for additions, one for deletions)
🧾 Data Requirements
- Source: GitHub API (
/repos/:owner/:repo/stats/code_frequency)
- Fields needed:
- Week timestamp
- Lines added
- Lines deleted
✅ Tasks
📅 Example Output
X-axis: Week (e.g., 2025-W28)
Y-axis: Number of lines
Areas/Lines: Additions (green), Deletions (red)
✅ Acceptance Criteria
- Clear visual distinction between added and deleted code
- Weekly granularity displayed accurately
- Labels and legend are present and readable
- Chart is responsive or exportable
- Graceful handling of weeks with no activity
Description
Create a chart to display the evolution of the codebase over time, showing how many lines of code were added and deleted. This helps identify development intensity and periods of refactoring or large features.
📊 Chart Type
🧾 Data Requirements
/repos/:owner/:repo/stats/code_frequency)✅ Tasks
📅 Example Output
X-axis: Week (e.g., 2025-W28)
Y-axis: Number of lines
Areas/Lines: Additions (green), Deletions (red)
✅ Acceptance Criteria