Download locations.html from mrmo3088/recruiting-data-visual-version-2: direct link, hf CLI and curl.
- Browser
- Download file 13.1 kB
-
https://huggingface.co/spaces/mrmo3088/recruiting-data-visual-version-2/resolve/main/locations.html
- Command line
-
hf download hf://spaces/mrmo3088/recruiting-data-visual-version-2/locations.html
-
curl -L -o locations.html https://huggingface.co/spaces/mrmo3088/recruiting-data-visual-version-2/resolve/main/locations.html
13.1 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Locations & Stages Analysis</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://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| <script src="https://unpkg.com/vanta@latest/dist/vanta.net.min.js"></script> | |
| <style> | |
| .chart-container { | |
| position: relative; | |
| height: 70vh; | |
| width: 100%; | |
| } | |
| .location-card { | |
| transition: all 0.3s ease; | |
| } | |
| .location-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 25px rgba(0,0,0,0.1); | |
| } | |
| #map { | |
| height: 500px; | |
| width: 100%; | |
| border-radius: 0.75rem; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div id="vanta-bg" class="fixed inset-0 -z-10"></div> | |
| <div class="container mx-auto px-4 py-12 relative"> | |
| <header class="text-center mb-16" data-aos="fade-down"> | |
| <h1 class="text-4xl font-bold text-gray-800 mb-4">Locations & Stage Analysis</h1> | |
| <p class="text-xl text-gray-600 max-w-2xl mx-auto">Visualizing candidate stages by geographic distribution</p> | |
| </header> | |
| <section class="mb-20"> | |
| <div class="bg-white rounded-xl shadow-lg p-6" data-aos="fade-up"> | |
| <h2 class="text-2xl font-semibold text-gray-800 mb-6">Locations by Stage</h2> | |
| <div class="chart-container"> | |
| <canvas id="locationStageChart"></canvas> | |
| </div> | |
| </div> | |
| </section> | |
| <section class="mb-20"> | |
| <div class="bg-white rounded-xl shadow-lg p-6" data-aos="fade-up"> | |
| <h2 class="text-2xl font-semibold text-gray-800 mb-6">Geographic Distribution</h2> | |
| <div id="map" class="bg-gray-100"></div> | |
| <div class="mt-4 grid grid-cols-2 md:grid-cols-4 gap-4"> | |
| <div class="bg-blue-100 p-3 rounded-lg flex items-center"> | |
| <div class="w-3 h-3 bg-blue-500 rounded-full mr-2"></div> | |
| <span>MN Locations (32)</span> | |
| </div> | |
| <div class="bg-red-100 p-3 rounded-lg flex items-center"> | |
| <div class="w-3 h-3 bg-red-500 rounded-full mr-2"></div> | |
| <span>KS Locations (16)</span> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <section class="mb-20"> | |
| <h2 class="text-2xl font-semibold text-gray-800 mb-6 text-center" data-aos="fade-up">Top Locations by Stage</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> | |
| <div class="location-card bg-white rounded-lg shadow-md p-6" data-aos="flip-left"> | |
| <div class="flex items-center mb-4"> | |
| <i data-feather="map-pin" class="text-red-500 mr-2"></i> | |
| <h3 class="text-lg font-semibold text-gray-800">Minneapolis, MN</h3> | |
| </div> | |
| <p class="text-gray-600 mb-2">Not Qualified: 5</p> | |
| <p class="text-gray-600 mb-2">Unable to Contact: 4</p> | |
| <p class="text-gray-600">Do Not Consider: 3</p> | |
| </div> | |
| <div class="location-card bg-white rounded-lg shadow-md p-6" data-aos="flip-left" data-aos-delay="100"> | |
| <div class="flex items-center mb-4"> | |
| <i data-feather="map-pin" class="text-blue-500 mr-2"></i> | |
| <h3 class="text-lg font-semibold text-gray-800">Topeka, KS</h3> | |
| </div> | |
| <p class="text-gray-600 mb-2">Not Qualified: 6</p> | |
| <p class="text-gray-600 mb-2">Never Answered: 2</p> | |
| <p class="text-gray-600">Do Not Consider: 1</p> | |
| </div> | |
| <div class="location-card bg-white rounded-lg shadow-md p-6" data-aos="flip-left" data-aos-delay="200"> | |
| <div class="flex items-center mb-4"> | |
| <i data-feather="map-pin" class="text-green-500 mr-2"></i> | |
| <h3 class="text-lg font-semibold text-gray-800">Dodge City, KS</h3> | |
| </div> | |
| <p class="text-gray-600 mb-2">Not Qualified: 4</p> | |
| <p class="text-gray-600 mb-2">Do Not Consider: 2</p> | |
| <p class="text-gray-600">Unable to Contact: 1</p> | |
| </div> | |
| <div class="location-card bg-white rounded-lg shadow-md p-6" data-aos="flip-left" data-aos-delay="300"> | |
| <div class="flex items-center mb-4"> | |
| <i data-feather="map-pin" class="text-yellow-500 mr-2"></i> | |
| <h3 class="text-lg font-semibold text-gray-800">Saint Paul, MN</h3> | |
| </div> | |
| <p class="text-gray-600 mb-2">Never Answered: 3</p> | |
| <p class="text-gray-600 mb-2">Withdrew Application: 2</p> | |
| <p class="text-gray-600">Not Qualified: 2</p> | |
| </div> | |
| <div class="location-card bg-white rounded-lg shadow-md p-6" data-aos="flip-left" data-aos-delay="400"> | |
| <div class="flex items-center mb-4"> | |
| <i data-feather="map-pin" class="text-purple-500 mr-2"></i> | |
| <h3 class="text-lg font-semibold text-gray-800">Wichita, KS</h3> | |
| </div> | |
| <p class="text-gray-600 mb-2">Not Qualified: 3</p> | |
| <p class="text-gray-600 mb-2">Accepted Another Position: 1</p> | |
| <p class="text-gray-600">Unable to Contact: 1</p> | |
| </div> | |
| <div class="location-card bg-white rounded-lg shadow-md p-6" data-aos="flip-left" data-aos-delay="500"> | |
| <div class="flex items-center mb-4"> | |
| <i data-feather="map-pin" class="text-pink-500 mr-2"></i> | |
| <h3 class="text-lg font-semibold text-gray-800">Rochester, MN</h3> | |
| </div> | |
| <p class="text-gray-600 mb-2">Withdrew Application: 1</p> | |
| <p class="text-gray-600 mb-2">Unable to Contact: 1</p> | |
| <p class="text-gray-600">Do Not Consider: 1</p> | |
| </div> | |
| </div> | |
| </section> | |
| <section class="bg-white rounded-xl shadow-lg p-6" data-aos="fade-up"> | |
| <h2 class="text-2xl font-semibold text-gray-800 mb-6">Stage Distribution by State</h2> | |
| <div class="chart-container"> | |
| <canvas id="stateStageChart"></canvas> | |
| </div> | |
| </section> | |
| </div> | |
| <script> | |
| // Vanta.js background | |
| VANTA.NET({ | |
| el: "#vanta-bg", | |
| mouseControls: true, | |
| touchControls: true, | |
| gyroControls: false, | |
| minHeight: 200.00, | |
| minWidth: 200.00, | |
| scale: 1.00, | |
| scaleMobile: 1.00, | |
| color: 0x3b82f6, | |
| backgroundColor: 0xf8fafc, | |
| points: 10.00, | |
| maxDistance: 20.00, | |
| spacing: 15.00 | |
| }); | |
| // Initialize AOS | |
| AOS.init({ | |
| duration: 800, | |
| easing: 'ease-in-out', | |
| once: true | |
| }); | |
| // Initialize feather icons | |
| feather.replace(); | |
| // Chart data | |
| const locationStageData = { | |
| labels: ['Minneapolis', 'Topeka', 'Dodge City', 'Saint Paul', 'Wichita', 'Rochester'], | |
| datasets: [ | |
| { | |
| label: 'Not Qualified', | |
| data: [5, 6, 4, 2, 3, 0], | |
| backgroundColor: 'rgba(239, 68, 68, 0.7)', | |
| borderColor: 'rgba(239, 68, 68, 1)', | |
| borderWidth: 1 | |
| }, | |
| { | |
| label: 'Unable to Contact', | |
| data: [4, 0, 1, 1, 1, 1], | |
| backgroundColor: 'rgba(59, 130, 246, 0.7)', | |
| borderColor: 'rgba(59, 130, 246, 1)', | |
| borderWidth: 1 | |
| }, | |
| { | |
| label: 'Do Not Consider', | |
| data: [3, 1, 2, 0, 0, 1], | |
| backgroundColor: 'rgba(16, 185, 129, 0.7)', | |
| borderColor: 'rgba(16, 185, 129, 1)', | |
| borderWidth: 1 | |
| }, | |
| { | |
| label: 'Never Answered', | |
| data: [2, 2, 0, 3, 0, 0], | |
| backgroundColor: 'rgba(234, 179, 8, 0.7)', | |
| borderColor: 'rgba(234, 179, 8, 1)', | |
| borderWidth: 1 | |
| } | |
| ] | |
| }; | |
| const stateStageData = { | |
| labels: ['MN', 'KS'], | |
| datasets: [ | |
| { | |
| label: 'Not Qualified', | |
| data: [9, 12], | |
| backgroundColor: 'rgba(239, 68, 68, 0.7)', | |
| borderColor: 'rgba(239, 68, 68, 1)', | |
| borderWidth: 1 | |
| }, | |
| { | |
| label: 'Unable to Contact', | |
| data: [6, 5], | |
| backgroundColor: 'rgba(59, 130, 246, 0.7)', | |
| borderColor: 'rgba(59, 130, 246, 1)', | |
| borderWidth: 1 | |
| }, | |
| { | |
| label: 'Do Not Consider', | |
| data: [3, 4], | |
| backgroundColor: 'rgba(16, 185, 129, 0.7)', | |
| borderColor: 'rgba(16, 185, 129, 1)', | |
| borderWidth: 1 | |
| }, | |
| { | |
| label: 'Never Answered', | |
| data: [5, 3], | |
| backgroundColor: 'rgba(234, 179, 8, 0.7)', | |
| borderColor: 'rgba(234, 179, 8, 1)', | |
| borderWidth: 1 | |
| } | |
| ] | |
| }; | |
| // Initialize charts | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // Location stage chart | |
| const locationStageCtx = document.getElementById('locationStageChart').getContext('2d'); | |
| new Chart(locationStageCtx, { | |
| type: 'bar', | |
| data: locationStageData, | |
| options: { | |
| responsive: true, | |
| maintainAspectRatio: false, | |
| scales: { | |
| x: { | |
| stacked: true, | |
| }, | |
| y: { | |
| stacked: true, | |
| beginAtZero: true | |
| } | |
| }, | |
| plugins: { | |
| tooltip: { | |
| mode: 'index', | |
| intersect: false | |
| }, | |
| legend: { | |
| position: 'top', | |
| } | |
| }, | |
| animation: { | |
| duration: 1000 | |
| } | |
| } | |
| }); | |
| // State stage chart | |
| const stateStageCtx = document.getElementById('stateStageChart').getContext('2d'); | |
| new Chart(stateStageCtx, { | |
| type: 'bar', | |
| data: stateStageData, | |
| options: { | |
| responsive: true, | |
| maintainAspectRatio: false, | |
| scales: { | |
| x: { | |
| stacked: true, | |
| }, | |
| y: { | |
| stacked: true, | |
| beginAtZero: true | |
| } | |
| }, | |
| plugins: { | |
| tooltip: { | |
| mode: 'index', | |
| intersect: false | |
| }, | |
| legend: { | |
| position: 'top', | |
| } | |
| }, | |
| animation: { | |
| duration: 1000 | |
| } | |
| } | |
| }); | |
| // Initialize map (placeholder for actual map implementation) | |
| // In a real implementation, you would use Leaflet or Google Maps API | |
| document.getElementById('map').innerHTML = | |
| '<div class="h-full flex items-center justify-center bg-gray-200 rounded-lg">' + | |
| '<p class="text-gray-600">Interactive map would display here showing locations and stage distribution</p>' + | |
| '</div>'; | |
| }); | |
| </script> | |
| </body> | |
| </html> |