Marimo × NBA Sports Demos

Reactive Python notebooks with live NBA data — built with wigglystuff + marimo + nba_api

10 star players · 555 game logs · 452 player season profiles · 2025‑26 regular season
⚡ These demos use wigglystuff (anywidget) and require a live Python kernel.
Click Run on molab for interactive versions, or Source to run locally with uv pip install wigglystuff && marimo edit <file>.py
📊

Scoring Distribution Explorer

Drag μ and σ in the normal distribution formula and watch the fit overlay real NBA scoring data. The exact TangleLatex trick from the marimo_io reel, but with real game stats.

TangleLatexstatisticsreactive
📈

Efficiency Frontier

Drag control points on a curve editor to draw an efficiency frontier, then watch it overlay real NBA player data. Switch stat axes to find surprising patterns — players above your curve are outperforming.

CurveEditorefficiencyexploration
🏀

Game Log Timeline

Auto-playing slider walks through the entire season game by game. Bar charts show each game's score with rolling averages, and a detailed stat card updates for every game. Watch the arc of a season unfold.

PlaySlidertimelineanimation