NBA Hex Shot Chart v2
✓ Published1🌍 Public
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 descriptionNBA Hex Shot Chart Comparison
Reusable Charts 2021 Verison.
https://gist.github.com/anxietyattacked/868d0e67d3dae4826b73b10366bdd138
MIT Licensed