I'll create a comprehensive ServiceNow IT Service Management Analytics Dashboard. Let me start by exploring the project structure and then build it out.
Now let me install the charting library and icons package, then build everything out.
Now let me update the HTML title and create all the source files. I'll build this with a modular structure.
Now let me create the data generation module:
Now let me create the theme context:
Now let me create the KPI card component:
Now create the chart components:
Now create the data table component:
Now create the group performance table:
Now let me create the header with filters and dark mode toggle:
Now let me create the main App component that ties everything together:
Now update the CSS for dark mode and custom styling:
Now let me build the project to check for errors:
The project builds successfully. Let me verify the output by checking the key files are correct:
The project builds successfully. Here's a summary of what was built:
ServiceNow ITSM Analytics Dashboard
Architecture
- 12 source files organized into
components/, context/, data/, and utils/ directories
- Built with React 19 + TypeScript + Vite + Tailwind CSS v4 + Recharts
Features
🔢 8 KPI Summary Cards in two rows:
- Total Incidents, Open Incidents, SLA Compliance, Avg Resolution Time
- Resolved Incidents, P1 Critical Count, First Call Resolution Rate, Avg CSAT
- Each card has a color-coded accent bar, icon, trend indicator (up/down arrows with % change), and context-aware coloring (e.g., rising P1s show red)
📊 5 Interactive Charts:
- Incident & Resolution Trend – Area chart with gradient fills showing created vs resolved over time
- Request Volume by Type – Stacked bar chart showing incidents, changes, and service requests
- SLA Compliance Trend – Line chart with a 95% target reference line
- Incidents by Category – Donut chart (Network, Hardware, Software, etc.)
- Incidents by Priority – Donut chart (P1–P4 color-coded)
- All charts have smooth animations, hover tooltips with rich formatting, and responsive sizing
📋 2 Data Tables:
- Team Performance – Shows each assignment group's open count, resolved count, avg resolution time, SLA % with mini progress bars, and CSAT star ratings
- Incident Details – Full sortable/filterable table with search, priority filter, state filter, paginated (10 per page), color-coded priority/state/SLA badges
🎛️ Live Filters:
- Date range toggle (7/14/30/90 days) – updates all views instantly
- Segment filter (All Groups or specific assignment groups) – filters all data live
- Refresh button – regenerates data
- Dark mode toggle – smooth transition between light and dark themes
📱 Fully Responsive:
- Collapses from 4-column to 2-column KPIs on mobile
- Charts stack vertically on smaller screens
- Mobile-friendly segment filter dropdown
- Horizontal scroll on data tables
🎨 Visual Design:
- Clean, modern card-based layout with subtle shadows and borders
- Frosted glass sticky header with backdrop blur
- Gradient accent colors, rounded corners (2xl), smooth hover transitions
- Custom scrollbars, focus-visible outlines for accessibility
Files built: index.html, src/data/sampleData.ts, src/context/ThemeContext.tsx, src/components/KPICard.tsx, src/components/IncidentTrendChart.tsx, src/components/VolumeBarChart.tsx, src/components/DonutChart.tsx, src/components/SLAChart.tsx, src/components/DataTable.tsx, src/components/GroupPerformance.tsx, src/components/Header.tsx, src/App.tsx, src/index.css