I am going to check the existing files in the project to understand its structure.
I will now check package.json to see which libraries (such as Lucide icons, Lucide-react, Chart libraries, or Tailwind configuration) are currently installed.
I am installing lucide-react, canvas-confetti, and @types/canvas-confetti for icons, visual badges, and gamification feedback when completing daily tracking targets.
I will inspect src/index.css to check the current styling structure and Tailwind setup.
I will read src/utils/cn.ts to confirm utility helpers.
I will now read index.html to update the page title and ensure we have proper font and viewport setup.
I will now update index.html with a descriptive title, modern fonts (Plus Jakarta Sans and JetBrains Mono), and ensure smooth dark/light theme styling support.
I will now update src/index.css to add font rules, smooth transitions, custom scrollbar styling, pulse animations, and interactive chart tooltip definitions.
I will now create src/types/analytics.ts to define all TypeScript interfaces for our 6 tracking domains (Academic, Finance, Fitness, Tasks, Books, Bible), KPI summaries, chart structures, date filters, and user segments.
I will now create src/data/mockData.ts with comprehensive sample data for every tracking domain, designed for university students and young graduates navigating academic deadlines, job interviews, budgeting, fitness, reading habits, and spiritual devotion.
I will now create src/context/AnalyticsContext.tsx to handle state management, live dynamic filtering by date ranges and segments, real-time KPI aggregations, multi-metric chart data generation, and instant activity logging.
I will now create src/components/charts/InteractiveLineChart.tsx to render multi-metric smooth cubic-bezier line charts with area gradient fills, interactive hover point tracking, dynamic tooltips, and animated SVG transitions.
I will remove the unused import ArrowUpRight in InteractiveLineChart.tsx.
I will now create src/components/charts/InteractiveBarChart.tsx to render animated multi-bar comparison charts (Current vs Target Goal) with interactive category tooltips and domain target badges.
I will now remove the unused import BarChartPoint in InteractiveBarChart.tsx.
I will now create src/components/charts/InteractiveDonutChart.tsx to display interactive segmented donut charts with animated SVG arcs, dynamic central summary readouts, and hover-triggered slice highlights.
I will now update InteractiveDonutChart.tsx to safely handle slice percentage calculations and remove the type warning.
I will now create src/components/dashboard/KPISection.tsx to render interactive KPI summary cards with trend arrows (+/-%), sparkline mini-graphs, progress bars to target thresholds, and click-to-filter capability.
I will remove the unused isDarkMode variable from KPISection.tsx.
I will now create src/components/dashboard/DataTable.tsx to provide a sortable, filterable, and searchable activity ledger table with pagination, quick status toggles, row actions, and data export capability.
I will now remove the unused import DomainType in DataTable.tsx.
I will now create src/components/common/Sidebar.tsx with navigation items for all 6 tracking domains plus the Command Center overview, featuring live badge counts, active streak counters, and quick student graduation status.
I will now create src/components/common/Header.tsx to provide the top control bar with live date-range filtering, segment switching, instant dark/light theme toggling, and mobile navigation controls.
I will now create src/components/dashboard/ExamCountdownWidget.tsx to display academic revision countdown timers, course confidence levels, and interactive Spaced Repetition (Anki/Flashcards) quick-revision buttons.
I will now create src/components/dashboard/AIAdvisorWidget.tsx to analyze live user metrics across all 6 tracking domains and deliver actionable, student-focused AI recommendations and habit insights.
I will remove the unused TrendingDown import from AIAdvisorWidget.tsx.
I will now create src/components/modals/QuickLogModal.tsx to provide an interactive modal for adding daily logs across all 6 tracking domains with dynamic field validation and instant live updates.
I will now create src/components/modals/GoalsModal.tsx allowing university students and young graduates to adjust their budget caps, GPA targets, workout goals, and reading targets.
I will now create src/components/domains/DomainOverview.tsx to provide rich, specialized deep-dive interfaces for each of the 6 individual tracking domains with interactive buttons, progress bars, and domain-specific telemetry.
I will remove the unused DollarSign and ChevronRight imports in DomainOverview.tsx.
I will now create src/App.tsx to assemble all navigation bars, KPI summary cards, interactive charts, AI coach advisor, academic widgets, activity ledger, and modals inside our responsive dashboard layout.
I will remove the unused Heart import in src/App.tsx.
I will now run build_project to test the TypeScript build and verify all components, interfaces, and packages compile cleanly.
I have created a comprehensive Interactive Analytics Dashboard (UniSphere.OS™) tailored specifically for University students and young graduates tracking their multi-domain daily lives across Academic & Revision, Finance & Budgeting, Fitness & Health, Tasks & Career, Book Tracking, and Bible Devotional Habits.
✨ What We Built
1. Multi-Domain Tracking & Specialized Views
- Academic & Revision Tracking: Calculates CGPA (
3.84 vs 3.90 target), course credit weightings (Algorithms & DS, System Architecture & Cloud, Corporate Finance, Machine Learning Ethics), study hours vs goals, Spaced Repetition (Anki/Flashcards) streaks, and exam countdown dates with confidence scores (1-100%).
- Finance & Expense Tracking: Tracks monthly student income (TA stipend + Freelance), expense allocation against the
$1,100/mo budget cap across categories (Rent & Housing, Groceries & Prep, Coffee & Study Lounge, Subscriptions, Textbooks), and net savings for post-graduation transition.
- Fitness & Vitality Tracking: Logs daily workout sessions (Strength Training, Cardio 5k, HIIT & Core), steps counter (
9,420 / 10,000 steps), sleep recovery (7.4 hours), water intake (3.2L), and habit streak days.
- Task & Career Management: Prioritizes university capstone milestones alongside graduate job rotational applications and interviews (Google, Stripe, Open Source Portfolio) with priority flags (
Urgent, High, Medium, Low).
- Book Tracking & Annual Reading Challenge: Tracks annual reading goal progress (Designing Data-Intensive Applications, Clean Architecture, Atomic Habits, The Psychology of Money, Dune) with page completion velocity and genre distribution.
- Bible & Spiritual Habit Tracking: One-Year Scripture Plan tracking Old Testament vs New Testament completion progress, daily devotion streaks (
24 days), scripture reading check-offs (John 14-16 & Psalm 23), and reflection notes.
2. Interactive KPI Summary Cards
- Live Trend Indicators: Displays positive/negative percentage changes (
+14.2% vs last month, -8.4% expense burn reduction) with directional up/down trend arrows.
- Embedded Sparkline Mini-Charts: 7-node sparkline graphs inside every KPI card depicting recent velocity.
- Target Progress Bars: Real-time progress bars indicating percentage achieved towards semester caps or reading goals.
- Click-to-Filter: Clicking any KPI card instantly drills down into that specific domain's specialized view.
3. Smooth Interactive Charts
- Smooth Cubic-Bezier Line Chart (
InteractiveLineChart): Multi-metric trend visualizer (Study Hours, Daily Expense Burn ($), Fitness Output, Book Pages, Bible Chapters) with area gradient fills, hover point inspection tooltips, and smooth SVG transitions.
- Grouped Target vs Actual Bar Chart (
InteractiveBarChart): Animated multi-bar comparison showing current progress against target goals per category or subject, with interactive hover tooltips and target reference lines.
- Segmented Donut Chart (
InteractiveDonutChart): Categorical distribution visualizer (e.g., Expense category ratios, study time per subject, Bible Testament breakdown) with interactive slice hover highlights and a dynamic central summary readout.
4. Sortable & Filterable Activity Ledger Table
- Real-Time Search & Filtering: Filter by any domain, search query (title/notes), or status (
Completed, In Progress, Planned, Overdue).
- Column Sorting: Sort ascending or descending across Date, Domain, Subject, Amount/Duration, and Status.
- Interactive Quick Actions: Change log status via inline dropdown, duplicate entries to today, delete entries, and export filtered data as a CSV spreadsheet (
Download CSV).
5. Global Date-Range & Segment Filters (Live-Sync)
- Global Date Range: Switch between
Last 7 Days (Sprint), Past 30 Days, Current Semester (Q1 2026), Full Academic Year, or Custom Range — instantly updating every chart and KPI card.
- Student & Grad Segments: Switch between
Balanced Student & Grad Mode, Exams & Revision Crunch Mode, Career Prep & Finances Mode, and Zero Distractions Mode to adjust priorities and weightings.
6. AI Student & Grad Coach & Quick-Log Modals
- AI Advisor Widget: Analyzes live metrics across all 6 domains and delivers realistic, actionable advice (e.g., "Substituting 3 Study Cafe visits with the campus library saves ~$38 for your emergency graduation fund while boosting study focus" or "Your confidence score in CS 401 is at 88%—add a 45-min morning Anki sprint before the April 14th exam").
- Quick Log Modal: Add new study hours, expenses, workouts, book chapters, Bible reading, or tasks with instant celebratory confetti and live dashboard recalculation.
- Semester Targets Modal: Adjust monthly budget caps (
$), fitness streak targets, and GPA goals at any time.
Files built: index.html, src/index.css, src/types/analytics.ts, src/data/mockData.ts, src/context/AnalyticsContext.tsx, src/components/charts/InteractiveLineChart.tsx, src/components/charts/InteractiveBarChart.tsx, src/components/charts/InteractiveDonutChart.tsx, src/components/dashboard/KPISection.tsx, src/components/dashboard/DataTable.tsx, src/components/common/Sidebar.tsx, src/components/common/Header.tsx, src/components/dashboard/ExamCountdownWidget.tsx, src/components/dashboard/AIAdvisorWidget.tsx, src/components/modals/QuickLogModal.tsx, src/components/modals/GoalsModal.tsx, src/components/domains/DomainOverview.tsx, src/App.tsx