line-charts: rebuilt for a Hacker News launch
line-charts: rebuilt for a Hacker News launch
Goal (agreed with Rufus 20 Nov): get linecharts.datahub.io to a state where a Show HN is plausible, following the bake-off stance (take a position, real demos, verdict first). Done-check: verdict leads the front page, libraries current, sceptical pre-mortem answered, launch kit ready. Met; deployed to linecharts.datahub.io on 21 Nov with Rufus's OK.
What happened
- Two pre-mortems (Fable, Codex) found the September site would not survive HN: synthetic data titled as fact; an invalid missing-data finding (Plot got different input, so "only Plot breaks gaps" was false); unfair Chart.js and Vega-Lite claims; three libraries a major version behind; the verdict only reachable as raw Markdown; no AI disclosure.
- Rufus called the chart "the most boring I have ever seen" and asked for research on what line charts are used for. Fable's research picked three kinds, each on real data: oil prices 1986–2026 (annotated editorial, WTI at −$36.98), Britain's grid every half hour since 2009 (1.25M points, dense and interactive), weekly npm downloads of 22 charting libraries (many series, log scale).
- Built in all seven libraries by one agent per library from a shared brief and an Observable Plot reference, then merged.
- Verdict: "Use Apache ECharts, unless the chart is going into an article: then use Observable Plot." Ranking: ECharts, Plot, D3, Plotly, µPlot, Chart.js, Vega-Lite. DataHub's own choice: Plot for static story charts (as DataPressr does), ECharts for interactive and dense charts.
- Front page now leads with the verdict and the ranking, then a live interactive grid chart (zoom from a fortnight to 17 years, switcher across libraries), then the evidence grid. Verdict, method and build notes are proper pages.
- Reproducible measurement record (scripts/measure, docs/measurements): medians of six runs per chart and gzip of every file each page loads; every number on the site reconciled to it.
- Codex final review, two passes: the first found two broken interactions and over-claims (all fixed); the second found no blockers and said it would post.
Where things are
- Live: https://linecharts.datahub.io (merged 21 Nov). Follow-up on preview https://hn-ready.line-charts.pages.dev: a cleaner hero matching tables (what we did + the oil chart, picks by job after the scroll, a Why page), waiting for Rufus's look.
- Cloudflare Pages ignores
.assetsignore, so repo files (.beads, AGENTS.md) were served from the repo root; fixed live with_routes.json+ a 404 function. Tables serves dist/, so it is not affected. - Launch kit:
~/src/datopian/marketing/projects/line-charts-hn/(README with titles, first-comment notes for Rufus, prepared answers, maintainers, timing; marketing-plan.md; research/ with pre-mortems, dataset research, both Codex reviews). Proposed Show HN Tue 8 Dec 14:00 UTC, one week after tables; site should be live by Mon 30 Nov because the tables first comment links it. - Open Beads: launch kit final pass after the tables thread (lc-gas.13), analytics (lc-gas.16), publishing the three datasets on datahub.io (lc-gas.17).
For the conductor
- Rufus's bar for bake-offs, worth reusing in tables-bakeoff: verdict and ranking above the fold, an interactive chart on the front page, interesting real data chosen by first asking what kind of chart people build.
- Rufus, evening 21 Nov: 'they all look the same' and 'where is the actual comparison?'. Rebuilt the front page from a Fable information-design review: a side-by-side table (stars, npm, size, 1.25M-point paint, done-for-you of 11, code, best for), a 2x2 of done-for-you vs dense-data speed, each library out of the box vs styled, a full-range Try it with timings on the buttons, five findings. Opus critique and Codex review applied. Live at 948effa.
- Reusable for tables-bakeoff: show what differs (defaults, a scored rubric published as a file, a 2x2), not seven copies of one styled chart.
- Final polish, 21 Nov late: the site is named "Which Line Chart?"; the front page has one switcher (the same chart across all seven, in ranking order), so /compare redirects there; the Why page links and shows DataHub data stories and a dataset page. Rufus: "otherwise we are done".