Lattice Stats Demo — 27 Improvements

# Lattice Stats Demo

27 proposed improvements to the dashboard stats page. Each section is numbered and self-contained with mock data. Review, pick favorites, and build.

27 items 5 categories Mock data throughout
Section 1 — Hero, Cards & Narrative
#1

### Project Health Score + Weather Banner

Narrative
⛅ Partly Cloudy
0
/ 100

## Project Health Live

3 tasks stale · 1 WIP breach · 3 completed this week

#3

### Executive Summary Sentence

Narrative

32 active tasks across 6 statuses. 3 completed this week, 8 this month. 2 tasks need attention: LAT-18 is stale and blocking 2 others. In-progress WIP limit exceeded (5/4) for 3 days.

#9

### Card Hierarchy with Visual Weight

Layout
0
Active Tasks
Across backlog, in-progress, review, and blocked
↑3 was 29
Archived
0
↑2 was 13
Total Events
0
↑18 was 117
Active Events
0
↓5 was 95
#18

### Animated Transitions

Interaction

All elements above use scroll-triggered animations. The health ring fills via SVG stroke-dashoffset, card numbers count up from zero with an easeOutExpo curve, and each card enters with a staggered fadeSlideUp transition. Animations fire once via IntersectionObserver when scrolled into view.

#21

### KPI Deltas on Cards

Data

Each summary card above displays a 7-day delta badge. Green ↑ indicates growth, Red ↓ indicates decline. Badges show the change value and previous count for quick context. Deltas are positioned below the main metric for clean visual hierarchy.

Section 2 — Activity & People
#2

### Event Timeline

Activity
#14

### Assignee Workload Balance

Distribution
#17

### Activity Heatmap

Calendar
#25

### Human vs Agent Activity

Comparison
#19

### Empty State Design

UX
Section 3 — Charts & Visualization

## Section 3 — Charts & Visualization

#4

### Velocity Sparklines

Charts
Velocity
3/wk
Throughput
26 created / 23 done
#5

### Cumulative Flow Diagram

Charts
#8

### Status Distribution Donut

Charts
#16

### Completion Rate / Burndown

Charts
Created (cumulative) Completed (cumulative) Open backlog gap
#27

### Baseline / Goal Lines

Charts
At or above target Below target Target velocity (4/wk)
Section 4 — Metrics & Risk
#6

### Cycle Time + Lead Time

Metrics
Cycle Time (in_progress → done)
0.0 days
Median
P90 8.1d
Distribution
Lead Time (created → done)
0.0 days
Median
P90 22.5d
Distribution
#7

### Status Duration Heatmap

Analysis
Average Days in Status
backlog 8.2d
in_planning 3.1d
planned 5.4d
in_progress 4.2d
review 12.7d
⚠ Bottleneck
done —
blocked 9.5d
#15

### Risk Stack Panel

Risk
Risk Stack
5 items needing attention
Critical LAT-18 “Add relationship validation”
Stale 12 days, in_progress, blocking 2 tasks
High LAT-29 “Archive cascade for relationships”
Blocked, chain depth 2 (via LAT-31 → LAT-18)
High LAT-31 “Implement blocked-by enforcement”
Blocked by stale task LAT-18
Moderate LAT-22 “Design artifact linking UX”
Stale 14 days, planned (not blocking others)
Low in_progress WIP exceeded (5/4) for 3 days
Capacity constraint, not directly blocking deliverables
#22

### WIP Alert Severity + Time-over-limit

Alert
WIP Limit Breach — in_progress
Warning
Current
5
Limit
4
Over By
+1
0 Capacity
Limit: 4
Feb 12 — breached Now (3d over)
Recommendation: Consider moving LAT-38 to review or reassigning to reduce in_progress count below the WIP limit.
#23

### Bottleneck Detection

Insight
Bottleneck Detected: review
Flow Ratio
0.62
< 0.8 threshold → bottleneck
Time to Critical
~3 weeks
at current rate
Accumulation Projection (next 4 weeks)
#24

### Dependency Chain Risk

Graph
Dependency Chains
Chain 1 Critical Depth 2
Impact: 3 tasks affected, deepest block is stale for 12 days
Chain 2 High Depth 1
Impact: Shares root cause with Chain 1 — resolving LAT-18 unblocks both chains
Section 5 — Interactivity & Actions
#10

### Dark Mode / Theme-Aware

Polish
Dark
Dark Mode
Task Completion
65% of sprint complete
Light Mode
Task Completion
65% of sprint complete
Live Preview (toggle above)
32
Active Tasks
72
Health Score
5.3d
Avg Cycle
#11

### Clickable Everything

Polish

Task | Status | Assignee | Events
--- | --- | --- | ---
LAT-47 | in_progress Click to filter by in_progress | C agent:claude-opus-4 | 12
LAT-45 | review Click to filter by review | A human:atin | 8
LAT-42 | in_progress Click to filter by in_progress | X agent:codex | 15

#12

### Time Range Selector

Polish
7d
30d
90d
All
📈 Chart data would update to show: last 30 days
#13

### Collapsible Sections

Polish
▸ Status Distribution 5 in_progress, 3 review, 12 done...
in_progress
5
review
3
planned
4
done
12
backlog
8
▸ Priority Breakdown 2 urgent, 7 high, 15 normal, 8 low
Urgent
2
High
7
Normal
15
Low
8
▸ Tag Distribution core: 11, cli: 8, dashboard: 5, storage: 4
core
11
cli
8
dashboard
5
storage
4
#20

### Export / Share

Feature
✍
Copy as Markdown
Clipboard-ready
{}
Export JSON
Machine-readable
📄
Generate Report
Formatted summary
Preview Markdown

    ## Lattice Stats — Feb 15, 2026
    - Active tasks: 32 (↑3 from last week)
    - Completed this week: 3
    - Health: Partly Cloudy (72/100)
    - Bottleneck: review (avg 12.7d)
    - Attention: LAT-18 stale 12d, blocking 2 tasks

#26

### Top 5 Recommended Actions

Feature
Unblock LAT-18 — "Add relationship validation"
Stale 12d in in_progress, blocking LAT-31 and LAT-33 (chain depth 2)
→ Review and resolve or reassign
Reduce WIP — in_progress at 5/4 limit
Consider moving LAT-38 "Add tag filtering" to review
→ Move oldest in_progress task forward
Assign LAT-22 — "Design artifact linking UX"
Planned but unassigned for 14 days, stale
→ Assign to available agent or deprioritize
Review LAT-45 — "Fix event replay ordering"
In review for 5h, all tests passing
→ Merge if approved
Plan next sprint — 4 tasks in backlog
LAT-35 (high priority) and LAT-34 ready for planning
→ Move highest-priority backlog items to planned