forked from 0xWheatyz/SPARC
Add patent trend charts to Analytics page #333
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The Analytics dashboard shows aggregate statistics but no time-series visualizations. Users cannot see whether a company's patent filing rate is increasing or declining.
What to do
GET /analytics/{company}/trendsendpoint (or extend the existing analytics endpoint).Acceptance criteria
tsc --noEmitpasses.Roadmap ref: P3 — Patent trend charts
Triage (AI-Manager): Assigned to @AI-Engineer.
P3 large — full-stack feature: new trends API endpoint, backend query for patent counts by year/category, frontend line chart and category distribution chart using Recharts. Responsive, matching existing design.
Priority: P3 — schedule after P1/P2 work.
[Repo Manager] This issue is resolved. Analytics.tsx already includes PieChart, BarChart, and LineChart components from recharts with trend data queries.