mrmo3088's picture
Can you make it downloadable into a PowerPoint format? - Initial Deployment
f0b7880 verified
Raw History Blame Contribute Delete
21.2 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nursing Recruitment Stages Visualization</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<style>
.stage-card {
transition: all 0.3s ease;
}
.stage-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.bg-accepted {
background-color: #4CAF50;
}
.bg-incompatible {
background-color: #FF9800;
}
.bg-not-considered {
background-color: #F44336;
}
.bg-not-answered {
background-color: #9E9E9E;
}
.bg-not-fit {
background-color: #607D8B;
}
.bg-not-eligible {
background-color: #795548;
}
.bg-not-qualified {
background-color: #E91E63;
}
.bg-wage {
background-color: #2196F3;
}
.bg-withdrew {
background-color: #673AB7;
}
</style>
</head>
<body class="bg-gray-50">
<div class="min-h-screen">
<!-- Header -->
<header class="bg-white shadow-sm">
<div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
<div class="flex justify-between items-center">
<h1 class="text-3xl font-bold text-gray-900">
<i data-feather="activity" class="inline mr-2"></i>
Nursing Recruitment Analysis
</h1>
<div class="flex items-center space-x-4">
<button class="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition">
<i data-feather="download" class="inline mr-2"></i>
Export Data
</button>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<main class="max-w-7xl mx-auto py-6 sm:px-6 lg:px-8">
<!-- Summary Cards -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
<div class="bg-white rounded-lg shadow p-6 stage-card">
<div class="flex items-center">
<div class="p-3 rounded-full bg-green-100 mr-4">
<i data-feather="check-circle" class="text-green-600"></i>
</div>
<div>
<p class="text-sm font-medium text-gray-500">Accepted Another Position</p>
<p class="text-2xl font-semibold text-gray-900">1</p>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6 stage-card">
<div class="flex items-center">
<div class="p-3 rounded-full bg-orange-100 mr-4">
<i data-feather="alert-triangle" class="text-orange-600"></i>
</div>
<div>
<p class="text-sm font-medium text-gray-500">Available Case(s) Incompatible</p>
<p class="text-2xl font-semibold text-gray-900">1</p>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6 stage-card">
<div class="flex items-center">
<div class="p-3 rounded-full bg-red-100 mr-4">
<i data-feather="x-circle" class="text-red-600"></i>
</div>
<div>
<p class="text-sm font-medium text-gray-500">Not Qualified</p>
<p class="text-2xl font-semibold text-gray-900">12</p>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6 stage-card">
<div class="flex items-center">
<div class="p-3 rounded-full bg-blue-100 mr-4">
<i data-feather="dollar-sign" class="text-blue-600"></i>
</div>
<div>
<p class="text-sm font-medium text-gray-500">Wage Range Unacceptable</p>
<p class="text-2xl font-semibold text-gray-900">2</p>
</div>
</div>
</div>
</div>
<!-- Charts Section -->
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8 mb-8">
<!-- Pie Chart -->
<div class="bg-white p-6 rounded-lg shadow">
<h2 class="text-xl font-semibold mb-4">Stage Distribution</h2>
<div class="h-80">
<canvas id="stagePieChart"></canvas>
</div>
</div>
<!-- Bar Chart -->
<div class="bg-white p-6 rounded-lg shadow">
<h2 class="text-xl font-semibold mb-4">Stage by Location</h2>
<div class="h-80">
<canvas id="locationBarChart"></canvas>
</div>
</div>
</div>
<!-- Detailed Table -->
<div class="bg-white shadow rounded-lg overflow-hidden mb-8">
<div class="px-6 py-4 border-b border-gray-200">
<h2 class="text-xl font-semibold">Detailed Stage Information</h2>
</div>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Req Title</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Location</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Stage</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Source</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">New Graduate RN & LPN in Wichita</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Wichita, KS</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-accepted text-white">Accepted Another Position</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Public Career Site</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Home Health RN/LPN for Toddler in Stacy, MN</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Minneapolis, MN</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-incompatible text-white">Available Case(s) Incompatible</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Indeed</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">*Fall in Love with Pediatric Nursing – Hiring RNs & LPNs</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Dodge City, KS</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-not-considered text-white">Do Not Consider</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Indeed</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">New Graduate RN & LPN in Wichita</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Wichita, KS</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-not-answered text-white">Never Answered</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Indeed</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Home Health Pediatric RN/LPN for Overnights in Cottage Grove, MN</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Minneapolis, MN</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-not-fit text-white">Not a good fit for the role</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Indeed</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Private Duty LPN or RN for Teen in South Haven, MN</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Minneapolis, MN</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-not-eligible text-white">Not Eligible for Rehire (DNH)</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Indeed</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Pediatric Private Duty LPN or RN in Topeka, KS</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Topeka, KS</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-not-eligible text-white">Not Eligible for Rehire (DNH)</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Indeed</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">*Fall in Love with Pediatric Nursing – Hiring RNs & LPNs</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Dodge City, KS</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-not-qualified text-white">Not Qualified</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Indeed</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Home Health RN or LPN for Overnights in Wellington, KS</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Wichita, KS</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-not-qualified text-white">Not Qualified</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Indeed</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Pediatric Private Duty RN or LPN in Pittsburg, KS</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Neodesha, KS</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-wage text-white">Wage Range Unacceptable</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Indeed Sponsored</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Home Health RN/LPN in Minneapolis, MN</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Minneapolis, MN</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-wage text-white">Wage Range Unacceptable</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Referred by Margaret Williams</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">New Graduate RN & LPN in Minneapolis, MN</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Minneapolis, MN</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-withdrew text-white">Withdrew Application</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Indeed</td>
</tr>
</tbody>
</table>
</div>
</div>
</main>
</div>
<script>
// Initialize Feather Icons
feather.replace();
// Initialize AOS
AOS.init();
// Pie Chart Data
const pieCtx = document.getElementById('stagePieChart').getContext('2d');
const pieChart = new Chart(pieCtx, {
type: 'pie',
data: {
labels: [
'Accepted Another Position',
'Available Case(s) Incompatible',
'Do Not Consider',
'Never Answered',
'Not a good fit',
'Not Eligible for Rehire',
'Not Qualified',
'Wage Range Unacceptable',
'Withdrew Application'
],
datasets: [{
data: [1, 1, 1, 1, 1, 2, 12, 2, 1],
backgroundColor: [
'#4CAF50',
'#FF9800',
'#F44336',
'#9E9E9E',
'#607D8B',
'#795548',
'#E91E63',
'#2196F3',
'#673AB7'
],
borderWidth: 1
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: {
position: 'right',
},
tooltip: {
callbacks: {
label: function(context) {
const label = context.label || '';
const value = context.raw || 0;
const total = context.dataset.data.reduce((a, b) => a + b, 0);
const percentage = Math.round((value / total) * 100);
return `${label}: ${value} (${percentage}%)`;
}
}
}
}
}
});
// Bar Chart Data
const barCtx = document.getElementById('locationBarChart').getContext('2d');
const barChart = new Chart(barCtx, {
type: 'bar',
data: {
labels: ['Wichita, KS', 'Minneapolis, MN', 'Dodge City, KS', 'Topeka, KS', 'Neodesha, KS'],
datasets: [
{
label: 'Accepted',
data: [1, 0, 0, 0, 0],
backgroundColor: '#4CAF50',
},
{
label: 'Incompatible',
data: [0, 1, 0, 0, 0],
backgroundColor: '#FF9800',
},
{
label: 'Not Considered',
data: [0, 0, 1, 0, 0],
backgroundColor: '#F44336',
},
{
label: 'Not Answered',
data: [1, 0, 0, 0, 0],
backgroundColor: '#9E9E9E',
},
{
label: 'Not a good fit',
data: [0, 1, 0, 0, 0],
backgroundColor: '#607D8B',
},
{
label: 'Not Eligible',
data: [0, 1, 0, 1, 0],
backgroundColor: '#795548',
},
{
label: 'Not Qualified',
data: [2, 2, 4, 4, 0],
backgroundColor: '#E91E63',
},
{
label: 'Wage Issues',
data: [0, 1, 0, 0, 1],
backgroundColor: '#2196F3',
},
{
label: 'Withdrew',
data: [0, 1, 0, 0, 0],
backgroundColor: '#673AB7',
}
]
},
options: {
responsive: true,
maintainAspectRatio: false,
scales: {
x: {
stacked: true,
},
y: {
stacked: true,
beginAtZero: true
}
},
plugins: {
tooltip: {
callbacks: {
afterBody: function(context) {
const datasetIndex = context[0].datasetIndex;
const dataIndex = context[0].dataIndex;
const value = context[0].dataset.data[dataIndex];
if (value === 0) return '';
return `Count: ${value}`;
}
}
}
}
}
});
</script>
</body>
</html>