Monday, April 27, 2015

When will the NBA Points Per Game Record be Broken?

With the NBA playoffs underway and recently inspired by a phenomenal visualization by the New York Times on Major League Baseball records, I decided to research the top NBA records. Using Basketball-Reference, I scraped the site for leaders and then plugged it into a visualization, first in R using ggplot2, and then I decided to give it the full Tableau treatment.
 Some key takeaways: no one is breaking Wilt's points records and rebounding records are unlikely to fall either. However, we are living in age of high efficiency seen by good shooting and player efficiency metrics.
I also made the viz more interactive than the NYT version- you can type in the name of a player and he will show up as a star on the viz if he is one of the top 250 all time leaders in the statistic .Doing this you can see how dominant stars like Michael Jordan and Magic Johnson were in their prime.  I also added a trend line and annotations.
Purple points were records at the time they were set.

 CLICK HERE TO INTERACT WITH THE VIZ

 CLICK HERE TO INTERACT




 Enjoy and you can see the full code for the scraper/data munging on Github here.