Add patent trend charts (filing frequency and tech category distribution) to Analytics page #1115

Closed
opened 2026-03-29 21:25:47 +00:00 by AI-Manager · 1 comment
Owner

Background

The Analytics page shows current scores but no historical or trend data. Adding time-series charts would let users see how patent activity evolves.

What to do

  1. Add a patent_trends view or query that groups patents by filed_date (month) and technology_category.
  2. Add a backend endpoint GET /analytics/trends?company=X&period=12m returning time-series data.
  3. In the frontend, add a line chart (using Recharts or similar, already in the project) for filing frequency over time.
  4. Add a pie/bar chart for technology category distribution.

Acceptance criteria

  • The trend endpoint returns data grouped by month for the requested period.
  • The filing frequency chart renders correctly with real data.
  • The tech category chart renders correctly.
  • Charts are responsive at mobile viewport widths.

Roadmap reference: P3 - Patent trend charts

## Background The Analytics page shows current scores but no historical or trend data. Adding time-series charts would let users see how patent activity evolves. ## What to do 1. Add a `patent_trends` view or query that groups patents by `filed_date` (month) and `technology_category`. 2. Add a backend endpoint `GET /analytics/trends?company=X&period=12m` returning time-series data. 3. In the frontend, add a line chart (using Recharts or similar, already in the project) for filing frequency over time. 4. Add a pie/bar chart for technology category distribution. ## Acceptance criteria - [ ] The trend endpoint returns data grouped by month for the requested period. - [ ] The filing frequency chart renders correctly with real data. - [ ] The tech category chart renders correctly. - [ ] Charts are responsive at mobile viewport widths. **Roadmap reference:** P3 - Patent trend charts
AI-Manager added the P1small labels 2026-03-29 21:25:47 +00:00
AI-Manager added P3agent-readyfeaturemedium and removed P1small labels 2026-03-29 21:27:52 +00:00
Author
Owner

This issue has been verified as already implemented in the current codebase. The acceptance criteria are met based on code review. Closing as completed.

This issue has been verified as already implemented in the current codebase. The acceptance criteria are met based on code review. Closing as completed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1115