The Long Thaw
Data story template · Culture and learning
A calm white newspaper data story: Merriweather on a quiet page, one sticky hand-built chart that changes shape as you read, and colour that means only one thing, more or less ice than the old average.
A newspaper data story about one river's ice. The headline sits over a ribbon of a hundred stripes, one per winter, and the story is told in five text steps that scroll past a sticky chart. The chart is a single hand-built SVG whose hundred marks move between layouts: one winter's freeze and break dates on a calendar beside last winter's, then a hundred stripes coloured against the 1925 to 1954 average, then dots with a ten-winter average that draws itself, then the five longest and five shortest winters picked out, then the straight line through the last thirty winters carried to 2060 inside a 90 percent band.
Every chart state has a written description that updates with it, and the chart can be focused and read winter by winter with the arrow keys or by pointer. The averages, extremes and projection are computed in the browser from the same rows that fill the table. Below the story, a birth-year explorer compares the winter you were born with the one just gone, the full ledger opens as a table and downloads as a real CSV, and six more rivers are drawn as small multiples on one scale.
Methodology, sources, limits and a dated correction close the page. The newsroom, the river, the people and every number are invented for the template, and the page says so under the byline.
The brand is fictional: The Long Thaw, a data story by the fictional Orrick Standard about a hundred winters of ice on the invented Vellen River. Names, people and figures on the page are invented.
What works
- Scrolly chart: five states triggered by the text steps crossing the middle of the screen (IntersectionObserver), with previous and next step buttons
- Chart cursor: focus the chart and use arrow keys, Page Up and Down, Home and End to read any winter; pointer hover shows the same tooltip
- Written description of each chart state, announced as it changes
- Your year: birth-year input with inline validation, quick year chips, then ice days then and now drawn on one calendar
- Data table toggle with sticky header
- Download CSV of all hundred winters (generated in the browser)
- Small multiples of six other rivers on a shared scale
States you can link to
script.js reads these from the URL, so you can open the page in a given state to review it, screenshot it or show it to an agent.
| Parameter | What it does |
|---|---|
?step=1 | opens the chart on the single-winter calendar and scrolls to that step. Open ?step=1 |
?step=3 | the dots and the ten-winter average line. Open ?step=3 |
?step=4 | the five longest and five shortest winters highlighted. Open ?step=4 |
?step=5 | the projection band to 2060. Open ?step=5 |
?year=1965 | fills the explorer with 1965 and shows the comparison with 2024–25. Open ?year=1965 |
?year=1890 | shows the out-of-range validation error. Open ?year=1890 |
?view=table | opens the data table and scrolls to it. Open ?view=table |
Use it
Copy templates/climate/ into your project, or download the zip, which has the Screenery badge script already removed. Colours, type, spacing and radii are custom properties at the top of style.css. This template loads no libraries: only its own files and web fonts.
The docs explain the token pattern and how to move a template into React, Vue, Svelte or Astro. The guide has prompts for handing it to a coding agent.
Inspection
Loaded in Chromium 156.0.8078.4 (Playwright, headless) on 27 November 2026 at 1440, 1024, 768, 390 pixels wide and once more with reduced motion requested. Every check passed at every width.
- 1440 px
- Pass
- 1024 px
- Pass
- 768 px
- Pass
- 390 px
- Pass
- Reduced motion
- Pass
- Page weight
- 561 KB, 8 requests
Requests and transferred size were measured at 1440 pixels on a cold cache and include web fonts and any CDN library. The full result is in the viewer: open the Checks panel. How templates are checked.