HN Topic Bar Chart Race

Each bar shows how many Hacker News posts and comments mention a term, per million, over a rolling window. It compares share of attention, so the growth of HN itself cancels out.

Category

Your browser can’t draw HTML into a canvas yet

Every word and bar in this chart is real HTML drawn into a canvas: you can click it, select it, find it with Ctrl+F, and record it as video. Today that works in Chrome 157 and later, and in current versions of Edge.

What it is · Firefox discussion · Safari (WebKit) discussion · Source code

Every term, number and bar above is live HTML drawn into one canvas. Drag the timeline, click a term to read that month’s HN threads, select a number, press Ctrl+F, then download the same picture as a video. Switch on 3D and it is still the same HTML, now on WebGL bars. What is HTML-in-Canvas? · Source code

Race your own terms

Methodology
How mentions are counted (checked against the API)
for large result sets Algolia returns an estimate (exhaustiveNbHits=false). For example, an empty query over a full month reported 136,281 items when the real count was 358,184. So: (1) the denominator (all posts + comments that month) comes from a query with facets=_tags, which returns an exact total; (2) for the numerator, keep “Exact match” on (quoted phrase), because only then do full-month queries return exact counts. Unquoted queries can be badly underestimated (e.g. xai: actual 36,934, reported 10,913, about 3.4× too low); (3) only titles and body text are searched. By default Algolia also matches usernames and submitted URLs, which made up 43% of vercel hits and 21% of java hits in 2026-10 (links written inside a post or comment still count). Every query checks exhaustiveNbHits; if the count is an estimate, the range is automatically split into 1–2 day windows and summed.
Choice of terms
the preset categories leave out common English words and ambiguous names that inflate counts (react, angular, cursor, render, railway, swift, ruby, lit, marko, dart, nim, phi, tailwind, etc.), and keep companies separate from their products (anthropic vs claude, xai vs grok) so one comment isn’t counted twice. chatgpt / gpt is a document union: a post or comment mentioning both counts once, and so is c# / csharp. php skips items containing .php (URLs and filenames). javascript / js is a union in which js skips items containing .js (node.js, three.js, filenames) unless they also say JavaScript. Go is not in the preset: most people write “Go”, which can’t be told apart from the verb. minimax adds exclusion words to filter out the game-tree algorithm, numerical approximation, RISC-V and unrelated brands. Phrases with spaces (sublime text, together ai, cloud run) are quoted automatically so they aren’t split into common words. Use “Spot-check hits” to confirm the matches are what you meant.
Load on HN
opening this page makes no network requests. All 8 preset categories play immediately from offline data embedded in the file (a real snapshot from : 60 months starting ). Algolia is queried only when you click “Fetch data” (or press Enter in the terms field) or “Spot-check hits”: fetching the default LLM category (12 terms × 60 months) takes about 930 queries, or 1–3 minutes. Counts for completed months almost never change, so they are cached locally for 30 days, and a second fetch needs only ~15 queries (the current month). This stays well inside the Algolia HN Search API limit of 10,000 requests per hour per IP. Use “Clear cache” to force a full refetch, or “Offline data” to return to the embedded snapshot.
Since 2007, and hiring since 2012
the long-run categories are counted differently, because thousands of Algolia queries would be rude: a few SQL queries against ClickHouse’s public copy of Hacker News (), rolling 6-month window, then embedded here. The page never contacts ClickHouse. Checked on Aug–Oct 2026 against the Algolia snapshot: 33 of 38 preset terms agree within 2%; php comes out about 7% higher because a comment mentioning both “php” and a “.php” file counts here. Early words keep some noise (“rust belt” in 2009, the law degree “LLM”), and rails leaves out guard rails and payment rails. Hiring uses another unit: of the top-level comments in each monthly “Ask HN: Who is hiring?” thread (one comment, one job post), the percentage that mention the term. In job posts go, ruby and react are rarely anything else, so they can be counted; go is case-sensitive or “golang” and skips “Go to …”. Clicking a term searches that month’s thread. It starts in 2012 because two 2011 threads are missing. Full rules are in scripts/history.mjs.
“New #1” captions
generated from the data, in the long-run categories only: a term gets one when it takes first place and keeps it for at least 5 months (3 at the end of the data), so near-ties don’t flicker.
Missing data
failed requests are retried (with extra backoff on 429). If a month still fails, it is dropped from both numerator and denominator, so it can’t create a fake spike or crash. If an entire window has no data, the value is linearly interpolated from its nearest valid neighbors.
HTML-in-Canvas
the canvas has content="drawable", and each row, the title, the month, the axis labels and the timeline (a native <input type="range">) are real HTML elements marked drawable. In the paint event, drawElementImage() draws their latest snapshots, next to grid lines drawn with plain Canvas 2D. Clicks, text selection, find-in-page and screen readers keep working at the drawn positions, and captureStream() records the same pixels with their CSS. Plain HTML can’t be recorded this way, and plain canvas text can’t be selected. The 3D switch moves the same elements to a WebGL canvas: texElementSubImage2D() turns them into textures, and updateElementGeometry() gets the same perspective matrix, so tilted text is still clickable and selectable. Perspective distorts lengths, so use 2D to compare.
Axis
by default one fixed scale covers the whole period, so bar lengths compare across months. With “Dynamic axis” on, the scale follows the current leaders so early, smaller numbers stay readable; bars still start at zero, but their lengths then compare only within one month, so across months read the axis and the numbers.
Note
a month marked * is the current, unfinished month (smaller sample, but the ratio still holds). A rolling window makes new topics climb a few months late, so the default window is 3 months.