Create an interactive analytics dashboard for ServiceNow IT service management analytics…
- User
Create an interactive analytics dashboard for ServiceNow IT service management analytics aimed at enterprise IT service managers. 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 comprehensive ServiceNow ITSM analytics dashboard. Let me start by exploring the project structure and then implement everything.
Let me install the required packages first.
Now I'll build the complete dashboard. Let me start by updating the HTML title and creating the data layer, then all components.
The issue is that the file has JSX but was created with
.tsextension. Let me fix that.Now let me create all the dashboard components. Starting with the Header:
The build succeeded! Let me do a quick review of the final output to make sure everything looks polished.
The dashboard is complete and builds successfully. Here's a summary of what was built:
ServiceNow ITSM Analytics Dashboard
Features Implemented:
KPI Summary Cards
- 4 key metrics: Total Incidents, Open Incidents, Avg Resolution Time, SLA Compliance
- Each card has a trend indicator with up/down/neutral arrows and percentage change
- Color-coded icons with smooth hover animations via Framer Motion
Interactive Charts (Recharts)
- Area Chart — Incident volume trends (Created vs Resolved) with gradient fills and smooth curves
- Donut Chart — Priority distribution (Critical/High/Medium/Low) with legend
- Bar Chart — Incidents by category (Hardware, Software, Network, Security, etc.)
- Horizontal Bar Chart — Team SLA compliance by assignment group
- All charts feature custom hover tooltips and smooth entry animations
Sortable & Filterable Data Table
- 10-column table with sorting on every column (priority/state have custom ordering)
- Real-time text search across incident number, description, assignee, group, and customer
- Dropdown filters for State and Priority
- Pagination with page numbers and prev/next controls
- Color-coded priority and state badges
Live Filters
- Date Range: Last 7 Days, 30 Days, 90 Days, Year to Date
- Segment: All, Infrastructure, Applications, Network, Security
- All views update instantly with a loading spinner transition
Design & UX
- Clean, modern visual style with clear hierarchy
- Full dark mode toggle (respects system preference)
- Fully responsive — collapses gracefully to mobile
- Custom scrollbars, card hover effects, and smooth transitions throughout
- 500 realistic sample incidents with proper distributions and relationships
Files built:
index.html,src/index.css,src/types/index.ts,src/data/sampleData.ts,src/hooks/useDarkMode.ts,src/hooks/useDarkMode.tsx,src/components/Header.tsx,src/components/Filters.tsx,src/components/KPICards.tsx,src/components/Charts.tsx,src/components/DataTable.tsx,src/App.tsx,src/main.tsx
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.