Fork of NBA Player Efficiency Scatter Plot
This scatter plot visualizes NBA player scoring efficiency using a dataset from a GitHub gist. It plots minutes played on the x-axis against a selectable y-axis metric—points, rebounds, assists, steals, or blocks—with each dot representing a player. Dot color indicates efficiency (points per minute), with Western Conference teams shown in reds and Eastern Conference teams in blues, differentiated through `d3.scaleSequential` with `interpolateReds` and `interpolateBlues`. The visualization uses D3 v6 with SVG rendering, including animated transitions via `transition().duration(600)`, interactive hover opacity, a dropdown menu built with a custom `menu` module, and a color legend for conference identification.
AI-generated descriptionDescription:
The scatter plot visualizes the NBA Player State Dataset. It is designed to depict player's scoring efficiency.
Representation:
- X-axis: Minutes played
- Dots: Each dots represents a player.
- Colors: Darker color represents higher efficiency.
What's new:
- Separate the players in Western teams and Eastern teams by using different hue of color
- Add a color legend to the plot