Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Further interaction NBA Statistics

Public visualization

Viewing a saved revision (read-only)

5d5a6d87a73d466ca8ae0b95561ba42a

Further interaction NBA Statistics

0 stars0🌍 Public
PPhilip Rago
Last edited Jan 2, 2022
Created on Oct 12, 2021

This interactive visualization displays the career statistics of the top ten NBA players based on a selected metric—points, assists, rebounds, or seasons played. Users choose a stat from a dropdown menu, which triggers a re-sorting of the horizontal bar chart using React state and `scaleBand`/`scaleLinear` scales from d3.v5. The SVG bars are rendered with tooltips showing formatted values, and the data is loaded asynchronously via d3’s `csv` from a GitHub-hosted dataset.

AI-generated description

A brief investigation of Historic NBA players and their career statistics.

This iteration added frist included a lot of back end cleaning and preparation of data. Then I was able to add a dropdown that allows the viewer to select the stat they are interested in viewing. For now it is stuck sorted by points. A few issues are present first off all active players are treated differently than retired players. Their data is from the last season while retired players have their career stats. I will be adding a toggle to look at past season vs retired players. Unfortunatly this messes with some of the analysis I wanted to do but Ill adapt. I also want to add a slider that allows you to choose the years to look at.

Read more about how the project evolved here.