Keyword Clustering Tool
Automatically group your keyword list into relevant, themed clusters.
Your clustered keywords will appear here...
No clusters could be formed. Try a different set of keywords.
'; pdfButtonContainer.classList.add('hidden'); return; } const colors = ['#3b82f6', '#10b981', '#f97316', '#8b5cf6', '#ef4444', '#14b8a6']; let colorIndex = 0; let totalKeywords = 0; clusters.forEach(cluster => { totalKeywords += cluster.keywords.length; const card = document.createElement('div'); card.className = 'cluster-card p-4 rounded-lg mb-4'; card.style.borderLeftColor = colors[colorIndex % colors.length]; colorIndex++; const rootTerm = cluster.root.split(' ').filter(word => !STOP_WORDS.has(word)).join(' '); let keywordsHTML = cluster.keywords.map(kw => `${rootTerm} (${cluster.keywords.length} keywords)
- ${keywordsHTML}
