UIGENEVAL-Leaderboard / index.html
smirki's picture
Upload 309 files
5b49d96 verified
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Latest Results (05/17/2025) - Tesslate AI</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<link rel="icon" href="https://tesslate.com/favicon.ico" type="image/x-icon"> <script>
tailwind.config = {
darkMode: 'class', // or 'media' or 'class'
theme: {
extend: {
colors: {
'primary-orange': '#ff4d00',
'primary-orange-dark': '#cc3d00',
'bg-dark': '#171717',
'bg-card': '#1c1c1c',
'bg-element-hover': '#2a2a2a',
'text-light': '#dedede',
'text-muted': 'rgba(222, 222, 222, 0.65)',
'text-dark-on-light': '#111111',
'border-color': 'rgba(255, 255, 255, 0.15)',
'border-strong': 'rgba(255, 255, 255, 0.25)',
},
fontFamily: {
sans: ['Inter', 'sans-serif'],
},
}
}
}
</script>
</head>
<body class="bg-bg-dark text-text-light font-sans antialiased">
<div id="page-container" class="flex flex-col min-h-screen">
<!-- Navbar -->
<nav id="navbar" class="fixed top-0 left-0 right-0 z-50 transition-all duration-300">
<div class="container mx-auto px-4 sm:px-6 lg:px-8 max-w-screen-xl">
<div class="flex items-center justify-between h-20">
<div class="flex items-center">
<a href="index.html" class="text-2xl font-bold text-text-light hover:text-primary-orange transition-colors">
UIGENEval
</a>
</div>
<div class="hidden md:flex items-center space-x-2">
<a href="index.html" class="text-text-muted hover:text-primary-orange px-3 py-2 rounded-md text-sm font-medium transition-colors">Latest Benchmark</a>
<a href="all_runs_archive.html" class="text-text-muted hover:text-primary-orange px-3 py-2 rounded-md text-sm font-medium transition-colors">Benchmark Archive</a>
<a href="https://tesslate.com" target="_blank" class="text-text-muted hover:text-primary-orange px-3 py-2 rounded-md text-sm font-medium transition-colors">Tesslate AI</a>
</div>
<div class="md:hidden flex items-center">
<button id="mobile-menu-button" class="text-text-muted hover:text-text-light focus:outline-none p-2">
<svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16m-7 6h7" />
</svg>
</button>
</div>
</div>
</div>
</nav>
<!-- Mobile Menu -->
<div id="mobile-menu" class="fixed top-0 left-0 h-full w-3/4 max-w-xs shadow-xl p-5 space-y-3 transform -translate-x-full transition-transform duration-300 ease-in-out z-[60] border-r border-border-color" style="background-color: var(--color-bg-card);">
<div class="flex justify-between items-center mb-6">
<a href="index.html" class="text-xl font-bold text-text-light">UIGENEval Benchmark</a>
<button id="mobile-close-button" class="text-text-muted hover:text-text-light p-2">
<svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" /></svg>
</button>
</div>
<a href="index.html" class="block text-text-muted hover:text-primary-orange px-3 py-2 rounded-md text-base font-medium">Latest Benchmark</a>
<a href="all_runs_archive.html" class="block text-text-muted hover:text-primary-orange px-3 py-2 rounded-md text-base font-medium">Benchmark Archive</a>
<a href="https://tesslate.com" target="_blank" class="block text-text-muted hover:text-primary-orange px-3 py-2 rounded-md text-base font-medium">Tesslate AI</a>
<div class="pt-4 border-t border-border-color">
<p class="px-3 text-sm font-semibold text-text-muted uppercase tracking-wider mb-2">Community</p>
<a href="https://huggingface.co/Tesslate" target="_blank" class="block text-text-muted hover:text-primary-orange px-3 py-2 rounded-md text-base font-medium">Hugging Face</a>
<a href="https://discord.gg/DkzMzwBTaw" target="_blank" class="block text-text-muted hover:text-primary-orange px-3 py-2 rounded-md text-base font-medium">Discord</a>
</div>
<div class="pt-4 border-t border-border-color">
<p class="px-3 text-sm font-semibold text-text-muted uppercase tracking-wider mb-2">TFrame<span class="text-primary-orange">X</span></p>
<a href="https://tframex.tesslate.com/" target="_blank" class="block text-text-muted hover:text-primary-orange px-3 py-2 rounded-md text-base font-medium">Docs</a>
<a href="https://github.com/TesslateAI/TFrameX" target="_blank" class="block text-text-muted hover:text-primary-orange px-3 py-2 rounded-md text-base font-medium">GitHub</a>
</div>
</div>
<main class="flex-grow pt-24"> <div class="container mx-auto px-4 sm:px-6 lg:px-8 py-8 max-w-screen-xl">
<header class="mb-8 md:mb-12 animate-on-scroll fade-in-up">
<h1 class="text-3xl sm:text-4xl md:text-5xl font-bold mb-2 text-text-light">UIGEN Benchmark - Latest Results</h1>
<p class="text-lg text-text-muted">Date Tested: 05/17/2025 | Prompt Set: fullpage_challenge</p>
<div class="mt-4 text-sm text-text-muted">
</div>
</header>
<section class="animate-on-scroll fade-in-up">
<h2 class="text-2xl font-semibold mb-6 text-text-light border-b-2 border-primary-orange pb-3">Leaderboard: 05/17/2025</h2>
<div id="leaderboardChartContainer" class="bg-bg-card p-4 sm:p-6 rounded-lg shadow-xl mb-8 animate-on-scroll fade-in-up" data-delay="0.1" style="height: 400px;">
<canvas id="leaderboardChart"></canvas>
</div>
<div class="table-responsive-wrapper shadow-lg animate-on-scroll fade-in-up" data-delay="0.2">
<table class="min-w-full divide-y divide-border-color">
<thead class="bg-bg-element-hover">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-text-muted uppercase tracking-wider">Rank</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-text-muted uppercase tracking-wider">Model Name</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-text-muted uppercase tracking-wider">Overall (%)</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-text-muted uppercase tracking-wider">Avg. Prompt (%)</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-text-muted uppercase tracking-wider">TQ (Earned/Max)</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-text-muted uppercase tracking-wider">ADH (Earned/Max)</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-text-muted uppercase tracking-wider">Details Page</th>
</tr>
</thead>
<tbody class="bg-bg-card divide-y divide-border-color">
<tr class="animate-on-scroll fade-in-up" data-delay="0.2">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-text-light">1</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-text-light">
<a href="runs/gemini-2.5-flash.html" class="table-cell-link hover:text-primary-orange transition-colors duration-150">
Gemini-2.5-Flash
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-primary-orange font-semibold">79.57</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-text-muted">78.93</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-text-muted">1448.2 / 1900.0</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-text-muted">197.0 / 245.0</td>
<td class="px-6 py-4 whitespace-nowrap text-sm">
<a href="runs/gemini-2.5-flash.html" class="button-link view inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-text-dark-on-light-bg bg-primary-orange hover:bg-primary-orange-dark focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-bg-dark focus:ring-primary-orange">View Model</a>
</td>
</tr>
<tr class="animate-on-scroll fade-in-up" data-delay="0.25">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-text-light">2</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-text-light">
<a href="runs/groq-deepseek-70b.html" class="table-cell-link hover:text-primary-orange transition-colors duration-150">
Groq-DeepSeek-70b
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-primary-orange font-semibold">76.67</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-text-muted">75.73</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-text-muted">1513.7 / 1900.0</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-text-muted">186.0 / 245.0</td>
<td class="px-6 py-4 whitespace-nowrap text-sm">
<a href="runs/groq-deepseek-70b.html" class="button-link view inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-text-dark-on-light-bg bg-primary-orange hover:bg-primary-orange-dark focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-bg-dark focus:ring-primary-orange">View Model</a>
</td>
</tr>
<tr class="animate-on-scroll fade-in-up" data-delay="0.30000000000000004">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-text-light">3</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-text-light">
<a href="runs/groq-llama3.3-70b.html" class="table-cell-link hover:text-primary-orange transition-colors duration-150">
Groq-Llama3.3-70b
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-primary-orange font-semibold">76.30</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-text-muted">75.47</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-text-muted">1416.5 / 1900.0</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-text-muted">188.0 / 245.0</td>
<td class="px-6 py-4 whitespace-nowrap text-sm">
<a href="runs/groq-llama3.3-70b.html" class="button-link view inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-text-dark-on-light-bg bg-primary-orange hover:bg-primary-orange-dark focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-bg-dark focus:ring-primary-orange">View Model</a>
</td>
</tr>
<tr class="animate-on-scroll fade-in-up" data-delay="0.35000000000000003">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-text-light">4</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-text-light">
<a href="runs/groq-llama4-scout.html" class="table-cell-link hover:text-primary-orange transition-colors duration-150">
Groq-Llama4-Scout
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-primary-orange font-semibold">75.92</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-text-muted">74.98</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-text-muted">1349.1 / 1900.0</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-text-muted">189.0 / 245.0</td>
<td class="px-6 py-4 whitespace-nowrap text-sm">
<a href="runs/groq-llama4-scout.html" class="button-link view inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-text-dark-on-light-bg bg-primary-orange hover:bg-primary-orange-dark focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-bg-dark focus:ring-primary-orange">View Model</a>
</td>
</tr>
<tr class="animate-on-scroll fade-in-up" data-delay="0.4">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-text-light">5</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-text-light">
<a href="runs/groq-gemma2-9b.html" class="table-cell-link hover:text-primary-orange transition-colors duration-150">
Groq-Gemma2-9b
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-primary-orange font-semibold">67.32</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-text-muted">66.45</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-text-muted">1308.5 / 1900.0</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-text-muted">164.0 / 245.0</td>
<td class="px-6 py-4 whitespace-nowrap text-sm">
<a href="runs/groq-gemma2-9b.html" class="button-link view inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-text-dark-on-light-bg bg-primary-orange hover:bg-primary-orange-dark focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-bg-dark focus:ring-primary-orange">View Model</a>
</td>
</tr>
</tbody>
</table>
</div>
</section>
<section class="mt-12 animate-on-scroll fade-in-up" data-delay="0.3">
<div class="suggestion-form-container bg-bg-card p-6 sm:p-8 rounded-lg shadow-xl">
<h2 class="text-xl font-semibold mb-6 text-text-light">Suggest a New Prompt</h2>
<form id="suggestPromptForm" class="space-y-6">
<div>
<label for="promptTitle" class="block text-sm font-medium text-text-muted mb-1">Prompt Title/Name</label>
<input type="text" id="promptTitle" name="promptTitle" required class="w-full p-3">
</div>
<div>
<label for="promptDescription" class="block text-sm font-medium text-text-muted mb-1">Prompt Description (be specific)</label>
<textarea id="promptDescription" name="promptDescription" rows="4" required class="w-full p-3"></textarea>
</div>
<div>
<label for="userEmail" class="block text-sm font-medium text-text-muted mb-1">Your Email (Optional)</label>
<input type="email" id="userEmail" name="userEmail" class="w-full p-3">
</div>
<button type="submit" class="button-style primary w-full sm:w-auto flex justify-center items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-text-dark-on-light-bg bg-primary-orange hover:bg-primary-orange-dark focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-bg-dark focus:ring-primary-orange">
Submit Suggestion
</button>
</form>
<div id="suggestionStatus" class="mt-4 p-3 rounded-md text-sm" style="display: none;"></div>
</div>
</section>
</div>
</main>
<footer class="border-t border-border-color py-10 md:py-16 mt-12 bg-bg-dark">
<div class="container mx-auto px-4 sm:px-6 lg:px-8 max-w-screen-xl">
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 mb-8 text-sm">
<div class="md:col-span-2 lg:col-span-1 mb-6 md:mb-0 animate-on-scroll fade-in-up" data-delay="0">
<a href="https://tesslate.com" target="_blank" class="text-2xl font-bold text-text-light hover:text-primary-orange transition-colors">Tesslate AI</a>
<p class="text-text-muted mt-2">Empowering innovation with intelligent automation.</p>
<p class="text-text-muted mt-1">UIGENEval Benchark Report. Generated: 2025-05-17 15:59:46 UTC</p>
</div>
<div class="animate-on-scroll fade-in-up" data-delay="0.1">
<h5 class="font-semibold text-text-light mb-3">Benchmark</h5>
<ul class="space-y-2">
<li><a href="index.html" class="text-text-muted hover:text-primary-orange">Latest Results</a></li>
<li><a href="all_runs_archive.html" class="text-text-muted hover:text-primary-orange">Archive</a></li>
</ul>
</div>
<div class="animate-on-scroll fade-in-up" data-delay="0.2">
<h5 class="font-semibold text-text-light mb-3">Community</h5>
<ul class="space-y-2">
<li><a href="https://huggingface.co/Tesslate" target="_blank" class="text-text-muted hover:text-primary-orange">Hugging Face</a></li>
<li><a href="https://discord.gg/DkzMzwBTaw" target="_blank" class="text-text-muted hover:text-primary-orange">Discord Server</a></li>
<li><a href="https://tesslate.com/blog" target="_blank" class="text-text-muted hover:text-primary-orange">Blog</a></li>
</ul>
</div>
<div class="animate-on-scroll fade-in-up" data-delay="0.3">
<h5 class="font-semibold text-text-light mb-3">TFrame<span class="text-primary-orange">X</span></h5>
<ul class="space-y-2">
<li><a href="https://tframex.tesslate.com/" target="_blank" class="text-text-muted hover:text-primary-orange">Documentation</a></li>
<li><a href="https://github.com/TesslateAI/TFrameX" target="_blank" class="text-text-muted hover:text-primary-orange">GitHub Repository</a></li>
<li><a href="https://pypi.org/project/tframex/" target="_blank" class="text-text-muted hover:text-primary-orange">PyPI Package</a></li>
</ul>
</div>
</div>
<div class="border-t border-border-color pt-8 flex flex-col sm:flex-row justify-between items-center text-xs text-text-muted animate-on-scroll fade-in-up" data-delay="0.4">
<p>&copy; <script>document.write(new Date().getFullYear())</script> Tesslate AI. All rights reserved.</p>
<div class="flex space-x-4 mt-4 sm:mt-0">
<a href="https://x.com/tesslateai" target="_blank" aria-label="Tesslate AI on X" class="social-icon hover:text-primary-orange">
<svg class="w-5 h-5 fill-current" viewBox="0 0 24 24"><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"></path></svg>
</a>
<a href="https://www.linkedin.com/company/tesslate-ai/" target="_blank" aria-label="Tesslate AI on LinkedIn" class="social-icon hover:text-primary-orange">
<svg class="w-5 h-5 fill-current" viewBox="0 0 24 24"><path d="M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"/></svg>
</a>
<a href="https://github.com/TesslateAI" target="_blank" aria-label="Tesslate AI on GitHub" class="social-icon hover:text-primary-orange">
<svg class="w-5 h-5 fill-current" viewBox="0 0 24 24"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg>
</a>
</div>
</div>
</div>
</footer>
</div>
<script>
document.addEventListener('DOMContentLoaded', () => {
// Navbar scroll behavior
const navbar = document.getElementById('navbar');
if (navbar) {
window.addEventListener('scroll', () => {
if (window.pageYOffset > 20) {
navbar.classList.add('scrolled');
} else {
navbar.classList.remove('scrolled');
}
});
}
// Mobile Menu
const mobileMenuButton = document.getElementById('mobile-menu-button');
const mobileCloseButton = document.getElementById('mobile-close-button');
const mobileMenu = document.getElementById('mobile-menu');
if (mobileMenuButton && mobileMenu && mobileCloseButton) {
mobileMenuButton.addEventListener('click', () => {
mobileMenu.classList.remove('-translate-x-full');
mobileMenu.classList.add('translate-x-0');
});
mobileCloseButton.addEventListener('click', () => {
mobileMenu.classList.add('-translate-x-full');
mobileMenu.classList.remove('translate-x-0');
});
// Close mobile menu when a link is clicked
mobileMenu.querySelectorAll('a').forEach(link => {
link.addEventListener('click', () => {
mobileMenu.classList.add('-translate-x-full');
mobileMenu.classList.remove('translate-x-0');
});
});
}
// Intersection Observer for animations
const animatedElements = document.querySelectorAll('.animate-on-scroll');
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
const delay = parseFloat(entry.target.dataset.delay) || 0;
setTimeout(() => {
entry.target.classList.add('is-visible');
}, delay * 100); // Snappier delay, in ms
observer.unobserve(entry.target);
}
});
}, { threshold: 0.1 }); // Element needs to be 10% visible
animatedElements.forEach(el => {
observer.observe(el);
});
});
</script>
<script src="https://cdn.jsdelivr.net/npm/chart.js@3.9.1/dist/chart.min.js"></script><script src="suggest_prompt.js"></script> <script>
document.addEventListener('DOMContentLoaded', () => {
const modelsDataForChart = [{"avgPromptScore": 78.93, "name": "Gemini-2.5-Flash", "overallScore": 79.57}, {"avgPromptScore": 75.73, "name": "Groq-DeepSeek-70b", "overallScore": 76.67}, {"avgPromptScore": 75.47, "name": "Groq-Llama3.3-70b", "overallScore": 76.3}, {"avgPromptScore": 74.98, "name": "Groq-Llama4-Scout", "overallScore": 75.92}, {"avgPromptScore": 66.45, "name": "Groq-Gemma2-9b", "overallScore": 67.32}];
const modelNames = modelsDataForChart.map(m => m.name);
const overallScores = modelsDataForChart.map(m => m.overallScore);
const ctx = document.getElementById('leaderboardChart').getContext('2d');
Chart.defaults.font.family = 'Inter, sans-serif';
Chart.defaults.color = '#dedede'; // Default text color for chart
new Chart(ctx, {
type: 'bar',
data: {
labels: modelNames,
datasets: [
{
label: 'Overall Score (%)',
data: overallScores,
backgroundColor: 'rgba(255, 77, 0, 0.8)', // primary-orange with alpha
borderColor: 'rgba(255, 77, 0, 1)', // Solid primary-orange
borderWidth: 1,
borderRadius: 4,
}
]
},
options: {
responsive: true,
maintainAspectRatio: false,
indexAxis: 'y',
scales: {
y: {
grid: { color: 'rgba(222, 222, 222, 0.1)'},
ticks: { color: '#dedede' }
},
x: {
beginAtZero: true,
max: 100,
title: { display: true, text: 'Score (%)', color: '#dedede' },
grid: { color: 'rgba(222, 222, 222, 0.1)' },
ticks: { color: '#dedede' }
}
},
plugins: {
legend: {
display: false,
},
tooltip: {
backgroundColor: 'rgba(0,0,0,0.85)',
titleColor: '#dedede',
bodyColor: '#dedede',
borderColor: 'rgba(255, 77, 0, 0.7)',
borderWidth: 1,
callbacks: {
label: function(context) {
let label = context.dataset.label || '';
if (label) {
label += ': ';
}
if (context.parsed.x !== null) {
label += context.parsed.x.toFixed(2) + '%';
}
return label;
}
}
}
}
}
});
});
</script>
</body>
</html>