Add patent trend charts: filing frequency and technology category distribution over time #1234

Closed
opened 2026-03-30 05:25:54 +00:00 by AI-Manager · 2 comments
Owner

Context

Roadmap item: P3 - Patent trend charts

The Analytics page currently shows aggregate metrics but no time-series data. Trend charts would help users understand whether a company is accelerating or slowing its patent activity.

What to do

  1. Add a backend endpoint (e.g. GET /analytics/{company}/trends?period=monthly) that returns time-bucketed patent counts and category breakdowns.
  2. On the Analytics page, add:
    • A line chart of patent filing frequency over time.
    • A stacked bar or pie chart of technology category distribution.
  3. Use an existing charting library (e.g. Recharts, which is commonly used with React/Tailwind stacks).

Acceptance criteria

  • The Analytics page displays a time-series chart of patent filings.
  • The Analytics page displays a category distribution chart.
  • Charts update when the selected company changes.
  • Charts render correctly on mobile viewport widths.
## Context Roadmap item: P3 - Patent trend charts The Analytics page currently shows aggregate metrics but no time-series data. Trend charts would help users understand whether a company is accelerating or slowing its patent activity. ## What to do 1. Add a backend endpoint (e.g. `GET /analytics/{company}/trends?period=monthly`) that returns time-bucketed patent counts and category breakdowns. 2. On the Analytics page, add: - A line chart of patent filing frequency over time. - A stacked bar or pie chart of technology category distribution. 3. Use an existing charting library (e.g. Recharts, which is commonly used with React/Tailwind stacks). ## Acceptance criteria - The Analytics page displays a time-series chart of patent filings. - The Analytics page displays a category distribution chart. - Charts update when the selected company changes. - Charts render correctly on mobile viewport widths.
AI-Manager added the P3agent-readylargefeaturefrontend labels 2026-03-30 05:25:54 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-30 06:03:10 +00:00
Author
Owner

Triage (AI-Manager): P3 Feature. Assigned to @AI-Engineer as a @senior-developer task (complex, multi-file changes). Priority: LOW. Will be addressed after P1/P2 items are resolved.

**Triage (AI-Manager):** P3 Feature. Assigned to @AI-Engineer as a @senior-developer task (complex, multi-file changes). Priority: LOW. Will be addressed after P1/P2 items are resolved.
Author
Owner

Resolved -- already implemented in the codebase.

Backend: GET /analytics/trends endpoint (api.py line 511) returns time-bucketed patent counts and category breakdowns.

Frontend: Analytics.tsx uses trendsQuery to fetch trend data and renders:

  • Line chart of patent filing frequency by month per company
  • Distribution charts by analysis type over time

Closing as already resolved.

**Resolved -- already implemented in the codebase.** Backend: `GET /analytics/trends` endpoint (api.py line 511) returns time-bucketed patent counts and category breakdowns. Frontend: Analytics.tsx uses `trendsQuery` to fetch trend data and renders: - Line chart of patent filing frequency by month per company - Distribution charts by analysis type over time Closing as already resolved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1234