Reading the whole NBA in 2.76 million rows
Last month I put LeBron James’s twenty-three seasons into one browser tab to watch a single superstar adapt as the game shifted around him. This time I wanted the entire league at once. On December 2, 2026, I pulled every open NBA stream I could reach into a single local DuckDB lakehouse—71 tables and 2,763,152 rows spanning the completed 2025–26 season and live 2026–27: 288,059 mapped shots, 326,174 non-garbage ten-man possessions, all twelve optical tracking feeds, Synergy play types, defensive matchups, hustle stats, injury reports, closing betting lines, every salary on the books, and nine impact models including AWS’s Inside the Game.
Once all 71 tables sat on the same floor, one continuous story surfaced—bookended by two impossible outliers nineteen years apart. The modern NBA just collided with two hard walls at once: a tactical ceiling where defenses finally caught up to pure three-point math (forcing offenses back onto the offensive glass), and a $221.686 million Second-Apron cap cliff that zero of thirty franchises crossed this fall. Inside that vise, the league is being reshaped by a 23-year-old 7-foot-4 rookie-scale alien breaking every impact model at once—while a 42-year-old LeBron James, now in Season 24 on a $3.88 million deal in Philadelphia, refuses to fall off the edge of the aging curve and somehow still lands in the exact same behavioral species.
Every figure below runs directly in your browser on 452 KB of compact static JSON compiled from that lakehouse, with zero chart libraries behind it—marked in crimson for Wembanyama and royal gold (★) for LeBron across all five views.
The geometry flipped
For a decade, basketball analytics had a one-sentence doctrine: shoot more threes, abandon the mid-range, and send nobody to the offensive glass so you never concede a run-out. Open 12-Year Shift to see where that doctrine bent. Three-point volume kept climbing from 24.1 attempts a game in 2015–16 to an all-time high of 37.8 this fall (43.1% of all field goals), lifting league efficiency nearly eight points per hundred possessions. Yet at the bottom, offensive rebounding bottomed out at 9.8 per game in 2020–21 and then reversed hard—surging +21% to 11.4 in 2025–26 and 11.9 early in 2026–27. Long threes manufacture long rebounds, and crashing athletic wings into stretched defenses turned putbacks into the third-most efficient play in basketball.
You can read that hierarchy directly in Play-Type Yield across 255,000 Synergy possessions: cuts (1.319 points per possession), transition (1.139), putbacks (1.130), and roll men (1.125) tower over self-created pick-and-roll ball-handling (0.881)—unless you employ Shai Gilgeous-Alexander, who scored 1.199 points per possession on 578 pick-and-rolls.
Back on the live 2026–27 plane, separating process from early-December win-loss noise scrambles the table immediately. Click Philadelphia: LeBron’s new club sits at 17–5 despite 11.8 expected wins (+5.2 wins of luck, the longest drift vector in the NBA) and a −0.04 Team EPM—even though LeBron’s own minutes are a calm +3.6 net rating. Contrast that with Boston (13–8, #2 in Team EPM at +7.63, trailing expected wins by −2.7) and San Antonio (17–5, +12.2 net rating, 67.0-win pace), crushing the league even while shooting 2.43 percentage points worse than expected shot quality.
What a shot is actually worth
To separate sustainable shot creation from hot streaks, I trained a five-fold out-of-fold gradient-boosted xFG% model on all 288,059 shots. The first run returned an impossible ROC-AUC = 1.000—a textbook leakage catch, because NBA V3 shot logs quietly encode makes inside action_type and leave score_home null on misses. Stripping both left pure pre-release geometry, clock pressure, and shot mechanics (ROC-AUC = 0.662, Brier = 0.224). Open AWS r = 0.948: even without proprietary 60 Hz 29-joint skeletal pose tracking, public court geometry and shot mechanics recover 90% of the variance in AWS’s official Inside the Game xFG% model.
Orbit the League Surface to read modern spacing as pure topography: a crimson rim ridge above 1.35 expected points, warm amber corner bastions around 1.12, and a sunken slate mid-range valley below 0.85. Then switch the 3D court to individual stars. Click LeBron James (1,312 mapped shots): at age 42, an astonishing 42.2% of his 2026–27 field-goal attempts are still at the rim, building a towering crimson bastion under the glass (59.1% true shooting) instead of fading into mid-range jumpers. Beside him, Luka Dončić carries the hardest high-volume diet on AWS’s board (38.9% expected FG%, #1 gravity at 18.8) and still adds +49.4 points over expected, while Cam Spencer (+17.4% SMOE, +56.4 points) and Stephen Curry (+12.5%) lead the early shot-making curve above cold-regression candidates Joel Embiid (−43.6) and Brandon Miller (−51.6).
One outlier breaking nine models—and one defying age 42
To test whether catch-all impact metrics agree on who drives winning, I fit a zero-prior, garbage-time-filtered Ridge RAPM across all 326,174 non-garbage ten-man possessions from 2025–27 (home court = +1.84 points/100) and merged it with Actual and Expected EPM, OpenRAPM, ESPN Net Points, Basketball-Reference BPM, DARKO DPM, BBall Index LEBRON, and AWS Leverage.
Toggle between Expected EPM and 326K RAPM and watch the league spring across three dimensions—while one crimson obelisk stays stranded alone above the canopy. Victor Wembanyama is #1 in Actual EPM (+11.14), #1 in Expected EPM (+12.08), #1 in OpenRAPM (+10.13), #1 in custom 326K Ridge RAPM (+8.25, +5.48 on defense), #1 in LEBRON (+9.33), #1 in BPM (+16.2), tied #1 in DARKO (+7.0), and #1 in AWS Defensive Leverage (2.35)—sitting at +4.59σ, more than a full standard deviation clear of #2 Stephen Curry (+3.52σ) and #3 Luka Dončić (+2.98σ).
Now click Age 19→42 and watch the exact same 276 spheres fly into a generational arch. While Wembanyama breaks the ceiling at 23 and Curry (+3.52σ) defies gravity at 38, look way out on the far-right horizon: LeBron James stands completely alone at age 42—two full years older than the next oldest rotation player in the NBA (Al Horford, 40)—and still ranks #56 of 276 across all six models (+0.71σ, +1.92 Actual EPM, +4.3 BPM, 2.58 AWS Leverage). Even more surprising: his 326K RAPM (+1.14) is now defense-led (+1.29 DRAPM).
Where the models disagree is equally sharp. Hover across the 9-Model Matrix: both BPM and ESPN Net Points correlate ρ = 0.54 with short-term shot-making (SMOE), whereas pure possession RAPM sits at ρ = 0.13—separating box-underrated drivers like Zach Edey (+5.35 RAPM vs −0.6 BPM) from box-overrated ones like Domantas Sabonis (+2.4 BPM vs −2.67 RAPM). Open Daily to trace Wembanyama (+3.20), Cooper Flagg (+2.87), and LeBron’s steady age-42 gold line beside May’s biggest 2025–26 playoff risers (Towns +3.86, Ajay Mitchell +3.58, Dylan Harper +3.35).
Positions are dead; seven behavioral worlds replaced them
Box scores still stamp rosters PG through C, even though Nikola Jokić initiates like a point guard and Ausar Thompson guards every slot. Running PCA and K-Means over 29 standardized optical tracking, shot-zone, and hustle features—without position or age labels—splits the league into seven behavioral worlds with stark value gaps. At the top sit just twelve Unicorn Hub Bigs averaging +3.23 EPM, ahead of Primary On-Ball Engines (+1.08) and Vertical Rim Anchors (+0.83: Jalen Duren, Jarrett Allen, Neemias Queta, Donovan Clingan), while low-usage perimeter shooters (−0.93) and 3&D specialists (−1.21) sit near the floor unless their defense is elite.
Look closely inside that 12-man crimson hull: right alongside 7-foot-4 Wembanyama, Nikola Jokić, Giannis, and Joel Embiid sits a gold diamond—LeBron James. Stripped of position labels, the algorithm recognized that late-career LeBron has physically reinvented himself into the exact same size-plus-playmaking hub archetype as the league’s giant unicorns.
Switch to Defense: Switchability & Luck to see each defender’s Guard/Forward/Center guarding split drawn directly as a three-color halo ring around their dot. Measuring matchup balance by Shannon entropy (1.00 = an exact 33/33/33 split) highlights Wembanyama at the apex (0.99 entropy—27% Guards, 39% Forwards, 34% Centers—48.4% rim DFG%, +4.94 D-EPM), Neemias Queta (40.0% at the rim, +3.47 DRAPM), and LeBron still logging 0.87 switchability entropy (42% Guards, 47% Forwards, 11% Centers, +1.29 DRAPM) in his twenties-plus-twenty season. Hover any club on the right-hand luck audit to see San Antonio, Boston, and Detroit genuinely starving opponent shot quality while Minnesota’s #1 defensive rating (105.5) rides +5.74 percentage points of opponent cold shooting.
The $221.7 million wall
The tactical story meets its real boss in the ledger. Crossing the 2026–27 Second Apron ($221.686 million) strips salary aggregation, trade exceptions, the mid-level exception, buyout signings, and freezes a future first-round pick seven years out. Look at the crimson hatched zone on the right: zero of thirty franchises crossed it. All seven top spenders—Orlando ($220.56M), New York ($220.40M), Golden State ($219.76M), Denver ($219.14M), Oklahoma City ($218.06M, hit with a league-high 123 player-games lost to injury), Minnesota ($215.33M), and Phoenix ($213.78M)—parked one to eight million dollars shy of the cliff. The Second Apron turned into a hard cap overnight.
Open Contract Surplus to see what a hard cap does to player value. Fitting a veteran price curve across 252 non-rookie deals yields $6.68M + $3.77M per projected Expected Win. Under a hard cap, there are only two structural cheat codes left in basketball: rookie-scale superstars and an underpriced legend. At the top sits 23-year-old Victor Wembanyama, delivering ~$68 million of value on a $16.87 million deal (+$51.1M surplus), joined on the exact same San Antonio cap sheet by Dylan Harper (+$20.6M) and Stephon Castle (+$19.9M)—nearly +$97 million of total rookie-scale surplus on one 67-win-pace contender. And right on the bottom shelf gleams the second cheat code: 42-year-old LeBron James on a $3.88 million deal producing $25.0 million of fair-market value (+$21.1M surplus—the #1 non-rookie bargain over age 30 in the NBA), subsidizing teammates Jaylen Brown (−$38.0M) and Joel Embiid (−$24.2M) right above him in Albatrosses.
Put all five figures together and the 2026–27 NBA reads as one unbroken optimization problem across two eras: defenses caught up to basic three-point volume, offenses answered on the glass, the CBA sealed payrolls at $221.7 million, a 42-year-old king adapted one last time into a $3.88 million defensive hub big to beat the clock—and a 23-year-old 7-foot-4 alien on a rookie contract just broke the whole puzzle wide open.
Data lakehouse, models, leakage catch, and downloadable files
All analyses run on a local DuckDB lakehouse (71 tables, 2,763,152 rows, snapshot December 2, 2026) compiled from nine public/open pipelines: SportsDataverse Parquet mirrors (185 files covering all 12 NBA.com optical tracking tables, Synergy play types, matchups, hustle, lineups, 288,059 shots, 339,714 possessions, Draft Combine, injury reports, and ESPN play-by-play), Bill Mill’s nightly remote DuckDB (Actual & Expected EPM, Daily EPM, OpenRAPM, Cleaning the Glass team summary, ESPN Net Points, salaries, betting lines, and rotations), PBPStats live JSON API, Shufinskiy’s archive, Basketball-Reference (BPM/VORP, payrolls through 2031–32, 85-year history), ESPN Live standings, Hugging Face 2025–26 closing ATS lines (1,315 games, ROC-AUC = 0.7582, Brier = 0.1970), plus browser-verified 2026–27 public leaderboards from AWS Inside the Game (Gravity, Shot Difficulty, Leverage), DARKO, nbarapm.com, and BBall Index LEBRON.
Models: (1) Leak-free Expected Shot Value (xFG%): 5-fold stratified OOF HistGradientBoostingClassifier over 288,059 shots using pre-release court geometry, clock pressure, and sub_type shot mechanics after removing V3 action_type and score_home/away leakage (ROC-AUC = 0.6621, Brier = 0.2238; validated against AWS 60 Hz 29-joint pose xFG% at r = 0.948, n = 25). (2) Custom Multi-Season Ridge RAPM: sparse L2 regression (λ = 2600) on 326,174 non-garbage ten-man possessions (2025–26 weighted 0.70, 2026–27 weighted 1.00, home court +1.84 pts/100), plus separate eFG, TOV, and ORB Four-Factor RAPM fits. (3) Unsupervised Archetypes: StandardScaler → PCA (10 PCs, 88.3%) → K-Means (k = 7) across 327 rotation players (min >= 800) and 29 tracking, shot-zone, and hustle features with zero position labels. (4) Contract Surplus: OLS price curve on 252 non-rookie veterans (salary >= $2M) against projected 82-game eWins, evaluated against 2026–27 CBA thresholds ($164.961M Cap, $200.428M Tax, $209.015M 1st Apron, $221.686M 2nd Apron).
League & 12-Year Data (JSON) · 288K Hex Court & SMOE (JSON) · 9-Model Player Impact (JSON) · Archetypes & Defense (JSON) · Second-Apron Cap & Surplus (JSON) · Source Audit (JSON)