forked from 0xWheatyz/SPARC
Add patent trend charts to the Analytics page #871
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?
Context
Roadmap item: P3 - Patent trend charts
The Analytics page shows aggregate stats but no time-series visualizations. Trend charts would make it easier to spot periods of increased or decreased patent activity.
Work to do
GET /analytics/{company}/trendsendpoint returning filing counts grouped by month/year and technology category.Acceptance criteria
Resolved in codebase. SPARC/api.py has GET /analytics/trends endpoint (lines 497-566) returning by_month and by_type_over_time data. frontend/src/pages/Analytics.tsx renders line charts for per-company trends and stacked bar charts for analysis type distribution over time using recharts. Closing as implemented.