+ {rows.map((row) => {
+ const intensity = Math.min(1, row.heat / maxHeat)
+ const size = Math.min(200, Math.max(76, 52 + Math.sqrt(row.heat) * 9))
+ const statsLine = t('heatMapBubbleStats', {
+ posts: row.postCount,
+ people: row.uniqueAuthors,
+ follows: row.followAuthorsInThread
+ })
+ const ariaLabel = [row.snippet, statsLine, t('heatMapOpenThread')].filter(Boolean).join('. ')
+ return (
+
+
+
+
+
+
+
{row.snippet}
+
{statsLine}
+
+
+
+ )
+ })}
+