An interactive tool that fetches real NBA player statistics from basketball-reference.com and visualizes career averages and trends using Python and Matplotlib.
- Web scraping of NBA data (per-season stats) using Selenium
- Support for any NBA player by name
- Graphing of career averages (e.g. points, rebounds, assists)
- Two visualization modes:
- Career Trend chart showing per-season stats over time
- Predictive Regression overlay (optional)
| Component | Technology |
|---|---|
| Web Scraping | Selenium + BeautifulSoup |
| Data Handling | pandas |
| Visualization | matplotlib |
| CLI | Argument parsing via sys.argv |
| Environment | Python 3.x |
Clone the repository:
git clone https://github.com/zeyung/nba-stat-visualizer.git
cd nba-stat-visualizer