This project investigates how NBA shot selection and offensive philosophy have evolved over two decades, contrasting the 2003β04 "Mid-Range Era" with the 2023β24 "Pace-and-Space Era".
Using shot-by-shot data, the analysis quantifies:
- The decline of the mid-range jumper
- The exponential rise of the three-point shot, often called the Three-Point Revolution
The deliverables include a series of comparative visualizations (e.g., Shot Density Maps, Shot Distance Histograms) illustrating the shift in offensive geometry across eras.
The analysis compares two full NBA seasons with consistent shot log structures to ensure valid comparison.
| Feature | 2003β04 Season Data | 2023β24 Season Data (Expected) |
|---|---|---|
| Source | Kaggle: NBA_2004_Shots.csv (via shots.ipynb) |
Expected via NBA Stats API or public datasets |
| Shots Included | β190,000 shot attempts | All available shot attempts |
| Focus | Mid-Range Heavy Era | Pace-and-Space Era |
| Key Columns | SHOT_DISTANCE, LOC_X, LOC_Y, SHOT_MADE, SHOT_TYPE |
Equivalent columns required |
SHOT_DISTANCEβ enables frequency distributions by range (ft)SHOT_TYPEβ categorizes attempts (2PT vs. 3PT)SHOT_MADEβ supports efficiency metrics (FG%, eFG%)LOC_X/LOC_Yβ used to generate shot density maps
Install the required Python packages:
pip install pandas numpy matplotlib seaborn kaggle
The data analysis reveals a fundamental change in the geometry and philosophy of NBA offense, driven by the analytical understanding of Expected Value (EV).
Since a three-point shot is worth 50% more than a two-point shot, teams have optimized their offense to target only the two most efficient shot locations β at the rim and beyond the arc β while eliminating the low-EV mid-range shot.
| Trend | 2003β04 Season (Baseline) | 2023β24 Season (Modern Era) | Analytical Implication |
|---|---|---|---|
| π Shot Profile | Mid-Range Heavy. Significant shot volume taken from 10β20 feet. | Three-and-Rim. Shots are heavily concentrated at the rim (0β4 ft) and beyond the arc (22+ ft). | The Death of Mid-Range: The mid-range jump shot has been deemed analytically inefficient and has been nearly eradicated from high-volume offense. |
| π― 3-Point Attempts | League average 3PA per game β 15β16 attempts. | 3PA has approximately doubled or more (β 35+ attempts per game). | Increased Pace & Value: The league prioritizes the Expected Value (EV) of a shot β with a league-average three-pointer yielding β 1.10 points per attempt, often higher than a contested mid-range two-pointer. |
| π Player Roles | More defined positional roles (e.g., Centers primarily near the basket). | All players, including Centers and Forwards, are now expected to have 3-point range. | Positional Fluidity: The rise of βpositionless basketballβ β every player must be a floor-spacer to maintain offensive efficiency and prevent paint congestion. |
| Visualization | 2003β04 Season | 2023β24 Season | Insight |
|---|---|---|---|
| Shot Density Map (Shot Chart) | High density in the mid-range areas (elbows, baseline corners) and under the basket | High density exclusively at the rim and around the full three-point arc, forming a βHomer Simpson Donutβ shape | Clear visual evidence of the mid-range disappearance and the dominance of rim and perimeter shots |
| Shot Distance Histogram | Bimodal or tri-modal distribution with peaks at 0β5 ft (rim), 10β20 ft (mid-range), and a smaller peak at 22+ ft (three-point range) | Strong bimodal distribution with peaks at 0β5 ft and 22+ ft, and near-zero frequency in the mid-range zone | Quantifies the βThree-and-Rimβ offensive shift β mid-range nearly eliminated |