I am going to explore the project structure to understand the available files and setup.
I will read package.json to check which dependencies and chart icons/libraries are installed.
I will install lucide-react for UI icons and recharts for interactive line, bar, area, radar, and donut charts with hover tooltips and animations.
I will inspect index.html to update the page title and ensure we have good metadata and styling support.
I will read src/index.css to check the Tailwind CSS configuration and styling rules.
I will check src/utils/cn.ts.
I will update index.html with a modern font (Plus Jakarta Sans & Inter), proper title, and viewport setup for an education tryout analytics platform.
I will update src/index.css to add font family definitions, smooth scrollbars, and dark mode transitions.
I will create src/types/analytics.ts with all TypeScript types and interfaces for the SMA/Middle High School Tryout Analytics Dashboard.
I will create src/data/mockAnalyticsData.ts with realistic Indonesian SMA/UTBK sample data and dynamic calculation helpers that respond live to segment and date-range filters.
I will create src/components/header/Navbar.tsx with brand logo, live search, student profile indicator, PTN simulator trigger button, and dark mode toggle.
I will create src/components/filters/FilterBar.tsx for persistent date-range, grade level, and track segment filters that update all dashboard components live.
I will clean up the unused imports in src/components/filters/FilterBar.tsx.
I will create src/components/kpi/KpiCardsGrid.tsx with KPI summary cards, trend indicators (+/- vs last period), mini sparklines, progress indicators, and interactive info tooltips.
I will clean up the unused import in src/components/kpi/KpiCardsGrid.tsx.
I will create src/components/charts/ScoreTrendLineChart.tsx for tracking UTBK-SNBT tryout score progression over time with National Average and PTN Passing Grade reference lines.
I will fix the TypeScript errors in src/components/charts/ScoreTrendLineChart.tsx.
I will update the onClick handler in src/components/charts/ScoreTrendLineChart.tsx to safely type the event payload.
I will create src/components/charts/SubtestBarChart.tsx for grouped bar chart comparisons across the 7 UTBK sub-tests with toggleable IRT Score vs Accuracy % view.
I will clean up the unused import in src/components/charts/SubtestBarChart.tsx.
I will create src/components/charts/QuestionDonutChart.tsx featuring smooth donut charts with interactive legends and central accuracy statistics, toggleable between Question Resolution (Correct/Incorrect/Blank) and HOTS Question Difficulty Mastery.
I will fix the TypeScript errors in src/components/charts/QuestionDonutChart.tsx.
I will update the onMouseEnter handlers in src/components/charts/QuestionDonutChart.tsx.
I will create src/components/charts/CompetencyRadarChart.tsx for interactive radar comparisons between Student Competency Polygon and the Target PTN Ideal Passing Profile.
I will create src/components/table/TryoutDataTable.tsx for a sortable, filterable, paginated SMA/UTBK tryout data table with status badges, search, CSV export, and modal drilldown.
I will create src/components/modals/PTNSimulatorModal.tsx for simulating target university passing grades and predicting readiness gaps.
I will clean up the unused imports in src/components/modals/PTNSimulatorModal.tsx.
I will create src/components/modals/TryoutDetailModal.tsx for reviewing Item Response Theory (IRT) diagnostics, subtest breakdowns, and celebratory feedback for individual SMA tryouts.
I will clean up the unused imports in src/components/modals/TryoutDetailModal.tsx.
I will read src/App.tsx.
I will replace src/App.tsx with our complete interactive analytics dashboard implementation for SMA / UTBK-SNBT tryout students.
I will clean up the unused import in src/App.tsx.
I will now run build_project to compile and verify that the TypeScript types, Recharts charts, and Tailwind CSS styles build cleanly.
I have created an interactive analytics dashboard for an Education Platform for Tryouts (Edutest ID) aimed at SMA / Middle & High School students (Kelas 10, 11, and 12) preparing for national exams and UTBK-SNBT university entrance tryouts.
✨ What was built:
-
Interactive Live Filtering (FilterBar):
- Date Range Selector: Choose between Last 30 Days, Last 3 Months, Semester 1 (Ganjil), Semester 2 (Genap), or Full Academic Year.
- SMA Segment Filters: Filter live by Grade Level (All Grades, Kelas 10, Kelas 11, Kelas 12) and Study Track (All Tracks, Saintek/IPA, Soshum/IPS, Gabungan).
- Target University (PTN) Passing Preset: Switch between UI • Ilmu Komputer (715 pts), ITB • STEI Komputasi (728 pts), UGM • Kedokteran (742 pts), ITS • Informatika (685 pts), UNPAD • Hukum (665 pts), or UB • Manajemen (650 pts).
- Whenever any filter or target preset changes, all charts, KPIs, readiness probabilities, and table rows update live.
-
KPI Summary Cards with Trend Indicators (KpiCardsGrid):
- 4 KPI Cards:
- Avg. UTBK-SNBT Score (IRT Scale 300–1000) with target gap
- PTN Passing Readiness % with progress bar
- National Percentile & Rank out of participants
- Question Accuracy Rate & Avg Time per Question
- Each card includes an up/down trend indicator badge (
+32 pts, +3.4%, etc.), a mini sparkline trend, and an interactive ? hover tooltip with detailed explanations.
-
Mix of Interactive Line, Bar, Donut, and Radar Charts:
- Tryout Score Progression Line/Area Chart (
ScoreTrendLineChart): Tracks combined Item Response Theory (IRT) scores over time with a dashed National Average reference line and a colored Target PTN Passing Score reference line. Includes a switcher between Combined Score and Penalaran vs Literasi Group Score.
- 7 Sub-test Mastery Grouped Bar Chart (
SubtestBarChart): Compares Student Score vs National Average vs Target Requirement across all 7 UTBK subtests (PM, PU, LBI, , , , ), with a toggle between IRT Score and Accuracy %.
Files built: index.html, src/index.css, src/types/analytics.ts, src/data/mockAnalyticsData.ts, src/components/header/Navbar.tsx, src/components/filters/FilterBar.tsx, src/components/kpi/KpiCardsGrid.tsx, src/components/charts/ScoreTrendLineChart.tsx, src/components/charts/SubtestBarChart.tsx, src/components/charts/QuestionDonutChart.tsx, src/components/charts/CompetencyRadarChart.tsx, src/components/table/TryoutDataTable.tsx, src/components/modals/PTNSimulatorModal.tsx, src/components/modals/TryoutDetailModal.tsx, src/App.tsx