🌍 Public
Viewing a saved revision (read-only)
3fbf54c0ca31412bbf131f2a0a8959de
Fork of season bar chart v1
This visualization displays game-by-game statistics for a basketball player, with bars representing the selected metric (points, rebounds, assists, etc.) across game dates. A dropdown menu lets users switch between different statistical attributes, updating the y-axis and bar heights accordingly. The chart is built using React with D3 version 5 for scales, axes, and rendering SVG elements, pulling data from a CSV file of Giannis Antetokounmpo’s game log. The code uses `scaleBand` for the x-axis, `scaleLinear` for the y-axis, and custom React components for axes, marks, and the dropdown.
AI-generated description