# Learning Analytics

Last 7 days · <Badge tone="success">Live</Badge>

<Callout tone="warning" title="Action needed">5 learners haven't logged in for 14+ days. Consider sending a nudge to the at-risk group.</Callout>

<Card title="Cohort" subtitle="Narrow every metric below to one cohort">
<Select label="Cohort" name="cohort" placeholder="Choose a cohort" options="All cohorts | Product Design · Q3 | Data Science · Q4 | Engineering Onboarding · Q2" />
</Card>

<Columns>
<Stat label="Active learners this week" value="1,284" change="+12% vs last week" tone="success" icon="users" />
<Stat label="Course completion rate" value="78%" change="+5 pts vs last month" tone="success" icon="check-circle" />
<Stat label="Average quiz score" value="86%" change="+3 pts vs last month" tone="info" icon="exam" />
</Columns>

<Columns>
<Card title="Engagement across the past eight weeks">
<Chart type="line" x="Week" y="Active learners">
| Week | Active learners |
|---|---|
| W1 | 720 |
| W2 | 810 |
| W3 | 940 |
| W4 | 1020 |
| W5 | 1150 |
| W6 | 1080 |
| W7 | 1210 |
| W8 | 1284 |
</Chart>
</Card>

<Card title="Courses ranked by enrollment">
<Chart type="horizontal" x="Enrollments" y="Course">
| Course | Enrollments |
|---|---|
| Design Systems | 340 |
| Python for Data | 291 |
| Agile Foundations | 254 |
| UX Research | 218 |
| SQL Essentials | 187 |
</Chart>
</Card>
</Columns>

<Columns>
<Card title="Learners at risk of dropping out" subtitle="No activity for 14+ days">
| Learner | Course | Progress | Risk |
|---|---|---|---|
| Maya Chen | Python for Data | 42% | <Badge tone="danger">High</Badge> |
| Jordan Lee | Design Systems | 55% | <Badge tone="danger">High</Badge> |
| Priya Patel | UX Research | 61% | <Badge tone="warning">Medium</Badge> |
| Sam Wilson | SQL Essentials | 38% | <Badge tone="warning">Medium</Badge> |
| Alex Kim | Agile Foundations | 73% | <Badge tone="info">Low</Badge> |
</Card>

<Card title="Message cohort" subtitle="Send a nudge, announcement, or reminder">
<Form name="message-cohort">
<Select label="Audience" name="audience" placeholder="Choose audience" options="All cohorts | Product Design · Q3 | Data Science · Q4 | Engineering Onboarding · Q2 | At-risk learners" />
<TextArea label="Message" name="message" placeholder="Hi team, don't forget to complete this week's module…" rows="4" />
<Button>Send message</Button>
<Button variant="secondary">Save draft</Button>
</Form>
</Card>
</Columns>

<FollowUps>
- Show me the trend for a single cohort
- Which quiz questions are hardest?
- Draft a message to at-risk learners
</FollowUps>