Skip to main content
100%

Untitled

✓ Published0🌍 Public
AAnne Lin
Last edited Dec 13, 2021
Created on Dec 13, 2021

This interactive bar chart displays games played by NBA players for a selected team, with a dropdown menu to switch between all 30 teams. Each bar represents a player, colored lightgreen, and the y-axis shows games played while the x-axis lists abbreviated player names. The visualization is built with React and rendered as SVG, using d3.scaleBand and d3.scaleLinear for scales, d3.csv for data loading, and ReactDropdown for team selection. Data comes from the NBA Player State Dataset, with player names shortened to first initial and last name initial format.

AI-generated description

Description:

The bar chart visualizes the NBA Player State Dataset. It iterates the previous version, which is designed to depict LAL players score per game in 2020-2021 season. A horizontal line is depicted in the chart to emphasize the mean score.

Representations:

  • X-axis: Player's name
  • Y-axis: Games played
  • Bar: Each bar represents a player in the team.
  • Interaction: Choose the team with the dropdown menu
MIT Licensed

Similar vizzes