Skip to main content
100%

NBA Player Efficiency Scatter Plot with Brush

✓ Published2🌍 Public
YYichen Li
Last edited Dec 8, 2021
Created on Oct 20, 2021

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 description

Description:

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.

Reference:

MIT Licensed

Similar vizzes