NBA Data Visualizations - HTML, JavaScript, and D3

These visualizations were originally created for a course entitled Introduction to Data Visualization, which I took in Spring 2022. The graphs may not immediately load, so please allow some lagtime. The data used comes from Basketball Reference.


The Change In Average 3-Pointers Attempted Per Game Since Stephen Curry Was Drafted


This graph demonstrates the trend in average 3-point attempts per game. You can use your mouse or trackpad to zoom into the graph or hover over the points to see which points represent which players. I'm sure you'll have no problem finding Stephen Curry's data points!

Top 10 Players With Most Minutes Played (Until 2016-2017 Season)

This bargraph highlights the players with the most career minutes played as of 2016. Hover your cursor over each bar to see the exact value for total career minutes.

The Split Between Offensive and Defensive Rebounds for Players With Most Total Rebounds In A Given Season: 1974-2017

Use the buttons above to see the different rebound leaders for each season based on era. Notice the split between offensive and defensive rebounds. Has this changed over time?

United States Map by Number of NBA Players Born In Each State

This graph highlights the United States in terms of NBA player output. Are there any states whose NBA player count surprises you?

The Distribution of LeBron Jame's Average Points Per Game: Every Season 2003-2017

Some consider LeBron James to be the best to ever play the game of basketball, but he didn't become the GOAT straight out of high school. Take a look at his average points per game across his career (up to 2016).