Skip to main content
100%

NBA Hex Shot Chart v2

✓ Published1🌍 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

MIT Licensed

Similar vizzes