I'll build a comprehensive interactive analytics dashboard for a Business Korean Learning App. Let me start by exploring the project structure and then create the application.
Let me install the necessary packages for charts and icons:
Now I'll create all the files for the dashboard. Let me start with the data layer and components:
Let me fix the lint error:
Now let me create all the dashboard components. I'll start with the main App.tsx:
The errors are expected since components don't exist yet. Let me fix the import path and unused imports, then create all the components:
Now let me create all the component files. Starting with the components directory:
Now let me create the chart components:
Now let me fix the require usage in App.tsx - it should use proper imports instead:
Let me extract the DailyLineChart to a separate component file:
Now let me update App.tsx to use the extracted component:
Now let me update the CSS with proper font support and dark mode styles:
Now let me build the project to check for errors:
The build succeeded. Let me now verify the full application looks correct by reviewing the final state of App.tsx:
Let me do a final build to make sure everything works:
The project builds successfully! Here's a summary of what I've created:
📊 비즈니스 한국어 학습 분석 대시보드
Architecture
- 11 files organized into a clean component-based structure
- React + TypeScript + Tailwind CSS + Recharts
Components Created
| File | Description |
|---|
src/App.tsx | Main dashboard orchestrating all components with state management |
src/data/sampleData.ts | Realistic Korean learner data generators (20 learners from Korean companies) |
src/components/KPICards.tsx | 6 KPI cards with trend indicators (hours, lessons, scores, vocab, learners, progress) |
src/components/TrendLineChart.tsx | Multi-line chart showing monthly study hours, lessons completed, quiz scores |
src/components/ActivityBarChart.tsx | Bar chart by learning category (business conversation, email, presentation, etc.) |
src/components/SkillDonutChart.tsx | Donut chart of 6 Korean language skills (회화, 어법, 읽기, 쓰기, 듣기, 어휘) |
src/components/WeeklyBarChart.tsx | Grouped bar chart for weekly study summaries |
src/components/DailyLineChart.tsx | Area chart showing daily study hours and vocabulary learning |
src/components/LearnerDataTable.tsx | Sortable, paginated table with progress bars, score coloring, streak indicators |
src/components/FilterBar.tsx | Search bar + date range buttons + segment/level dropdowns |
src/components/DarkModeToggle.tsx | Animated toggle with sun/moon icons |
Features
- Dark mode with smooth color transitions across all components
- Live filtering: Date range (today → 1 year), segment (5 categories), level (TOPIK), search
- Charts: Line, area, bar, donut — all with hover tooltips, gradients, and smooth animations
- Responsive: Mobile-first grid layouts (1→2→3→6 columns)
- Korean typography: Noto Sans KR + Inter fonts, Korean language labels throughout
- 20 realistic learners from companies like 삼성전자, SK하이닉스, NAVER, 카카오, etc.
Files built: index.html, src/data/sampleData.ts, src/App.tsx, src/components/KPICards.tsx, src/components/TrendLineChart.tsx, src/components/ActivityBarChart.tsx, src/components/SkillDonutChart.tsx, src/components/WeeklyBarChart.tsx, src/components/LearnerDataTable.tsx, src/components/FilterBar.tsx, src/components/DarkModeToggle.tsx, src/components/DailyLineChart.tsx, src/index.css