Create an interactive dashboard for a math learning website aimed at the students doing…
- User
Create an interactive dashboard for a math learning website aimed at the students doing the math. Include KPI summary cards with trend indicators, a mix of line, bar, and donut charts with hover tooltips and smooth transitions, a sortable and filterable data table, and date-range and segment filters that update every view live. Use a clean, modern visual style with clear layout hierarchy and a dark mode toggle, generate realistic sample data so every chart feels alive, and make it fully responsive.
Assistant
Built successfully. Here's what I created:
MathPath — Learner Dashboard (student-facing math progress app)
- Data layer (
src/data.ts): seeded PRNG generates 180 days of realistic per-topic practice records (attempts, correct, minutes, XP, hints) with weekend dips, rest days, and gradual improvement over time, plus 20 skills with mastery/accuracy/trend. - Live filters: date range segmented control (7d / 30d / 90d / 6mo) and topic chips (Algebra, Geometry, Fractions, Statistics, Calculus) — every KPI, chart, and the table recompute instantly.
- KPI cards: problems solved, accuracy, practice time, XP, and day streak, each with a trend pill comparing to the equivalent previous period, gradient icons, and hover lift.
- Charts (recharts): composed area+line for solved vs. accuracy (auto-buckets to weekly/biweekly on longer ranges), colored bar chart for minutes by topic, interactive donut with a dynamic center label that follows the hovered slice, and an average-minutes-by-weekday bar chart with an insight callout. All have custom styled tooltips and animated transitions.
- Data layer (
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.