Skip to main content
100%

Fork of NBA Player Efficiency Scatter Plot

✓ Published1🌍 Public
YYichen Li
Last edited Oct 14, 2021
Created on Oct 13, 2021

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 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:

  • Separate the players in Western teams and Eastern teams by using different hue of color
  • Add a color legend to the plot
MIT Licensed

Similar vizzes