Create an interactive analytics dashboard for fitness tracking aimed at Users. Include…
- User
Create an interactive analytics dashboard for fitness tracking aimed at Users. 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
I'll build a fitness analytics dashboard with recharts.
Built successfully. The dashboard includes:
- KPI cards (avg steps, calories, active minutes, resting HR) with % change vs the previous period and inline sparklines
- Charts: gradient area chart (steps/calories), donut with center total for training mix, grouped weekday bar chart, and dual-axis recovery line chart — all with custom styled hover tooltips and animated transitions
- Filters: 7D/30D/90D/6M date ranges, segment pills (cardio/strength/mobility), and search — every view recomputes live
- Workout log table: sortable columns, pagination, CSV export
- Dark mode toggle, fully responsive layout, and 180 days of deterministic realistic sample data
Files built:
src/index.css,src/data.ts,src/components/ui.tsx,src/App.tsx,index.html
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.