NBA Player Efficiency Scatter Plot with Brush
This interactive visualization displays NBA player scoring efficiency using two coordinated scatter plots. Each dot represents a player, positioned by minutes played on the x-axis and points scored on the y-axis, with darker colors indicating higher efficiency. A brushable mini time-series chart allows users to select a range of minutes, filtering the main scatter plot to show only players within that selection. Built with React and D3 v5, the example uses `d3.brushX` for the interactive brushing and `d3.scaleSequential` with the `interpolatePuRd` color scale for efficiency encoding. The dataset is loaded from a GitHub-hosted CSV file.
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:
- Add a brush to the scatter plot using d3-brush.