Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

NBA Hex Shot Chart v2

Public visualization

Viewing a saved revision (read-only)

38afdf6019e34e6f9dea796f8f59a808

NBA Hex Shot Chart v2

1 star1🌍 Public
MMichael Bergerson
Last edited Apr 10, 2022
Created on Apr 9, 2022
Forked from NBA Hex Shot Chart

This visualization compares NBA shot charts for Damian Lillard and Giannis Antetokounmpo, displaying hexagonal bins colored by each player’s field goal percentage relative to the league average, with hexagon size reflecting shot frequency. It uses D3’s `hexbin`, `scaleLinear`, `scaleSequential`, and `interpolateRdYlBu` to render SVG hexagons over a basketball court path. Shot data is loaded from CSV files, and separate legends for frequency and FG% differential are generated via a custom `legendChart` function.

AI-generated description

NBA Hex Shot Chart Comparison

Reusable Charts 2021 Verison.

https://gist.github.com/anxietyattacked/868d0e67d3dae4826b73b10366bdd138