Skip to main content
100%

NBA Player Games Played Bar Chart

✓ Published10🌍 Public
YYichen Li
Last edited Dec 9, 2021
Created on Oct 27, 2021

This interactive bar chart displays the number of games played by NBA players across different teams, with a dropdown menu to filter by team and color-coded bars for wins and losses. Built with React and D3 v5, it uses `scaleBand` for the x-axis, `scaleLinear` for the y-axis, SVG rendering for marks, and a custom legend to show the win/loss color mapping. The data comes from a CSV file containing player statistics for the 2020-2021 season.

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