Skip to main content
100%

NBAanalysis

✓ Published0🌍 Public
Yyc4004
Last edited Dec 12, 2021
Created on Dec 12, 2021

This interactive bar chart displays the number of games played by players on selectable NBA teams. A dropdown menu chooses the team, and a color legend distinguishes wins from losses by shaded bars. The visualization is built with React and D3 v5, using `scaleBand` for the x-axis and `scaleLinear` for the y-axis. SVG rectangles render the data, which is parsed from a CSV URL using D3's `csv` function.

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