How the list of the NBA's all-time point leaders changed from 1954 through 2020 shown using an animated bar chart race data visualization.
This animation was created using D3.js and is based off of similar animations like this one http://observablehq.com/@d3/bar-chart.... Data was scraped using Cheerio and DOM queries using JavaScript in the browser console.
================
Data Sources
================
Scoring List
-------------------------------
The all-time leading scorers list is from Wikipedia (https://en.wikipedia.org/wiki/List_of...) and is limited to 50 players because I couldn't find a longer list (if you know of one then let me know at [email protected] or on Twitter).
Player Stats
-------------------------------
The NBA player stats are from Basketball Reference (https://www.basketball-reference.com/...) because this is one of the few sources I could find with consistent season total stats for current and retired players.
Team Colors
-------------------------------
Colors are based off of each player's rookie year team color using data scraped from https://teamcolorcodes.com/nba-team-c....
================
Code
================
https://github.com/bradydowling/stats...