Public
Yamal vs R9, Mbappé, Messi — teenage G+A charts
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Cumulative senior goals + assists by age for Lamine Yamal vs the greatest attacking careers ever: Messi, Cristiano Ronaldo, Pelé, Ronaldo Nazário (R9), Kylian Mbappé, and Neymar.
Three views (click legend names to toggle players):
- Full careers — cumulative G+A at each age, 15 → 40
- The teenage window — cumulative G+A, ages 15–19 (the original chart)
- Teenage G+A per season — season-by-season output at each teenage age
index.ts— HTTP entrypoint (Hono). Serves the frontend and/source.frontend/index.html— shell (Twind + std/catch).frontend/app.tsx— React + Recharts client app with legend toggling.frontend/data.ts— the dataset, player config, and footnotes.
These are career-tracking numbers, not a stats-provider export:
- Endpoints for active players are anchored to July 2026 totals (Messi ≈ 915 G / ~400 A; CR7 ≈ 974 G / 307 A; Mbappé ≈ 555 G+A; ongoing 2026 World Cup included). Mid-career points are interpolated from known season totals — shapes are accurate, exact values are ±.
- Pelé's line is official-match goals only; assists weren't reliably recorded in his era, so his curve understates his G+A.
- Yamal's series ends at 18 (turned 19 in July 2026). R9's plateau at 23–25 is the knee ruptures.
- Teenage rows come from the original teenage-kings comparison table.
To update the numbers, edit frontend/data.ts.