🌍 Public
Viewing a saved revision (read-only)
d3201b24bd2049648c03048f766198ff
Fork of More Basketball Shot Charts
This interactive visualization displays LeBron James’s shot chart overlaid on a basketball court, with green and red circles marking made and missed shots. The court is drawn as SVG elements using React components. Shot data is loaded from a CSV via `d3.csv`, scaled with `d3.scaleLinear`, and rendered as circles using the `Marks` component. The court geometry uses `d3.lineRadial` for arcs, while player data comes from the `nba_api` dataset.
AI-generated descriptionReact basketball court component made from https://observablehq.com/@willhoup/drawing-an-nba-court
data from https://github.com/swar/nba_api