Last distance offered — school detail page

Adds the final-offer cut-off distance to the existing Admissions card, plus a catchment view on the map. Data covers one to ten years depending on the school and local authority, so every screen here is built around partial coverage rather than assuming a full run.

Sample school: Fairlawn Primary School, Lewisham — 8 years of distance data out of 10 years of admissions data.

1. A distance tile joins the admissions tiles

SchoolDetailView · #admissions

No new section and no new nav entry — the number a parent actually asks for ("how close do we need to live?") sits with the rest of the intake story. The segmented control gains a third view, Distance.

Admissions

Reception entry, September 2025.

60
Places offered
142
Wanted it first
54of 142 · 38%
Got their first choice
New
0.31mi≈ 500 m · 6 min walk
Last distance offered
The furthest home offered a place once siblings, faith and EHCP priority were applied. It is not a fixed catchment — it moves every year with the number of applications.

2. The cut-off drawn on the map

SchoolHeroMap · catchment layer

"0.31 miles" is abstract until you see it over your own streets. The latest year is a filled ring; earlier years sit behind it as hairlines, so the tightening reads instantly as a set of shrinking circles. Straight-line rings only — they're an illustration of the number, not a boundary.

Where the last place went

2016 · 0.62 mi 2025 · 0.31 mi Fairlawn Primary Your home · 0.24 mi
2025 cut-off — 0.31 mi Earlier years, 2016–2024 Your home
Would you have got in?

We measure straight-line distance from your postcode, the same way Lewisham does.

0.24 miles away — inside the cut-off in all 8 years on record
That's 0.07 miles of headroom on 2025, the tightest year so far. 2018 has no published figure, and in 2022 every applicant was offered a place.
2016 ✓ 2017 ✓ 2018 – 2019 ✓ 2020 ✓ 2021 ✓ 2022 ✓ 2023 ✓ 2024 ✓ 2025 ✓
An indication only. Distance is applied after siblings, faith and EHCP priority, and next year's cut-off depends on next year's applicants. Always check the school's own admissions policy.

3. Coverage states

Partial data is the normal case

Coverage runs from ten years to none. Each state says something true rather than falling back on a generic "no data" — the reason a figure is absent is itself useful to a parent.

4+ years

Full treatment: verdict banner, chart, table, map rings. The verdict line only appears with 4+ points — below that a two-year swing isn't a trend.

2–3 years

Tile and table, no verdict banner, single map ring for the latest year. "Only 3 years available" sits under the table.

1 year

Tile plus one map ring. No Distance tab — the tile and its footnote are the whole story.

Never oversubscribed

Not missing data — good news, and it should read that way.
Everyone who applied was offered a place in each of the last 6 years, so no distance cut-off was needed.

No data at all

Replaces the current placeholder text in SecondarySchoolDetailView.tsx:780.
Lewisham hasn't published cut-off distances for this school. The council's admissions page may list them.

Not distance-ranked

Grammar and some faith schools rank on test score or faith practice, so a distance figure would mislead.
Places here are ranked by the entrance test, not by distance.

4. Mobile

≤ 640 px

Tiles fall to two columns and the distance tile takes the full width beneath them, so the headline number survives the reflow. The chart drops its table on mobile behind a "See all years" disclosure.

Admissions

Reception, Sept 2025

60
Places offered
142
Wanted it first
New
0.31mi ≈ 500 m · 6 min walk
Last distance offered, 2025

Distance

Halved in nine years
0.62 mi → 0.31 mi
0.80.50.2 '16'20'25 0.31 mi
See all 10 years

Mobile decisions

  • Distance tile spans both columns — the number a parent came for shouldn't be a half-width cell.
  • Chart keeps every year but labels only first, middle and last; the endpoint stays labelled.
  • Year-by-year table collapses into a disclosure rather than forcing a horizontal scroll.
  • Map rings reuse the existing full-screen hero map sheet, opened from the tile.