A data visualization of the distribution of the ages of NBA players by team.
Done for fun to try out a beeswarm plot with D3 v4. The site is live online at https://yelper.github.io/nba-age/.
To build the code, type tsc
in console within this directory. If you do not have TypeScript installed on your computer, install Node.js, then type npm install -g typescript
from a console.
If you want D3 typings for the TypeScript code, type npm install @types/d3
and restart your IDE.
This project is under the MIT license. In addition to citing it in your own work, I would appreciate a shoutout!