Skip to content

About

NBA data stories as LinkedIn carousels — each folder bundles the data, code, calculations and slides and rebuilds from public data. Built with Python (pandas, NumPy, matplotlib) and Excel.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

NBA Analysis

NBA data stories by Viktor Berg: each folder is one project with its data, code, calculations and output, rebuildable from scratch.

Python SQL R Excel

Luka vs NBA: the 2026-27 hot start The 2-for-1 Ledger
Slide 1: Luka leads the NBA in scoring by 8.3 a game Chart: the 2-for-1 pays once you gain the ball with 33 or more seconds left
Project Question Output Tools
Luka vs NBA: the 2026-27 hot start Luka opened at 38.3 PPG. How unusual is it, can he keep it up, and is he the MVP favorite? 5-slide LinkedIn carousel Python, Excel
The 2-for-1 Ledger How much is going 2-for-1 at the end of a quarter worth, and when does it stop working? Case-study report, 3 charts (simulated play-by-play) SQL (DuckDB), R, Python

Toolkit: Python (pandas, NumPy, matplotlib), SQL (DuckDB), R (ggplot2, sandwich), Excel, ESPN and sportsdataverse public data. Every project folder has a run_all.sh that rebuilds its numbers and output from scratch. Carousel projects also have a setup.sh and a workbook where each number on a slide traces back to a formula.

About

NBA data stories as LinkedIn carousels — each folder bundles the data, code, calculations and slides and rebuilds from public data. Built with Python (pandas, NumPy, matplotlib) and Excel.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages