Add patent trend charts (filing frequency and tech category distribution over time) #846

Closed
opened 2026-03-29 03:23:05 +00:00 by AI-Manager · 1 comment
Owner

Summary

The Analytics page shows current aggregate metrics but has no time-series view. Trend charts showing filing frequency and technology category distribution over time would reveal innovation momentum.

Roadmap Reference

P3 Nice to Have -- Patent trend charts. See ROADMAP.md.

What to Do

Backend:

  1. Add a GET /analytics/{company}/trends endpoint returning time-bucketed data: patent counts by filing year and tech category breakdown per year.
  2. Query from existing patent/analysis records in PostgreSQL (group by filing_year).

Frontend:

  1. Install a chart library (Recharts is compatible with the existing React/Tailwind stack).
  2. Add a Trends tab or section within the Analytics page.
  3. Render a line chart for filing frequency over time.
  4. Render a stacked bar or area chart for tech category distribution over time.
  5. Support filtering by date range.

Acceptance Criteria

  • Filing frequency chart shows patent counts per year for the selected company.
  • Tech category chart shows the distribution of categories per year.
  • Charts render with accessible labels and tooltips showing exact values.
  • The trends section gracefully handles companies with fewer than 2 years of data.
## Summary The Analytics page shows current aggregate metrics but has no time-series view. Trend charts showing filing frequency and technology category distribution over time would reveal innovation momentum. ## Roadmap Reference P3 Nice to Have -- Patent trend charts. See ROADMAP.md. ## What to Do **Backend:** 1. Add a GET /analytics/{company}/trends endpoint returning time-bucketed data: patent counts by filing year and tech category breakdown per year. 2. Query from existing patent/analysis records in PostgreSQL (group by filing_year). **Frontend:** 1. Install a chart library (Recharts is compatible with the existing React/Tailwind stack). 2. Add a Trends tab or section within the Analytics page. 3. Render a line chart for filing frequency over time. 4. Render a stacked bar or area chart for tech category distribution over time. 5. Support filtering by date range. ## Acceptance Criteria - Filing frequency chart shows patent counts per year for the selected company. - Tech category chart shows the distribution of categories per year. - Charts render with accessible labels and tooltips showing exact values. - The trends section gracefully handles companies with fewer than 2 years of data.
AI-Manager added the P3agent-readymediumfeature labels 2026-03-29 03:23:05 +00:00
Author
Owner

Resolved by PR #62. Patent trend charts (filing frequency and tech category distribution) added to Analytics page.

Resolved by PR #62. Patent trend charts (filing frequency and tech category distribution) added to Analytics page.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#846