Feature: Public Stats Dashboard
A public /stats page that meta-visualizes the platform's own data — a data viz site showing stats about its data viz.
What it shows
- Summary counters: total specs, total implementations, total lines of code, avg quality score
- Per-library bar chart: avg quality score, implementation count (pure CSS bars)
- Coverage heatmap: spec rows x library columns, cells colored by quality score (clickable)
- Score distribution histogram: 10 buckets (0-100)
- Top 10 implementations leaderboard (score >= 95)
- Tag distribution: most common plot types, domains, features
- Timeline: implementations per month
Technical Approach
- New router:
api/routers/insights.py with GET /insights/dashboard
- Reuses
SpecRepository.get_all() with stale-while-revalidate caching
- Frontend:
app/src/pages/StatsPage.tsx (lazy-loaded)
- All visualizations rendered as MUI Box elements (no chart library)
Inspired by
GitHub contribution graphs, npm package stats, "Are We There Yet" dashboards
🤖 Generated with Claude Code
Feature: Public Stats Dashboard
A public
/statspage that meta-visualizes the platform's own data — a data viz site showing stats about its data viz.What it shows
Technical Approach
api/routers/insights.pywithGET /insights/dashboardSpecRepository.get_all()with stale-while-revalidate cachingapp/src/pages/StatsPage.tsx(lazy-loaded)Inspired by
GitHub contribution graphs, npm package stats, "Are We There Yet" dashboards
🤖 Generated with Claude Code