The NBA Player Stats Explorer is a Streamlit web application designed to provide users with an interactive platform for exploring and analyzing NBA player statistics from basketball-reference.com.
- Dynamic Filtering: Users can filter player statistics by selecting specific criteria such as year, team, and position using intuitive sidebar controls.
- Data Visualization: The app generates visualizations, including data tables and intercorrelation heatmaps, to help users gain insights into player performance.
- Data Download: Users have the option to download the displayed player statistics as a CSV file for further analysis.
- Clone this repository to your local machine.
- Install the required Python libraries listed in
requirements.txt
using pip. - Run the app by executing
streamlit run app.py
in your terminal. - Select the desired year, team(s), and position(s) from the sidebar to filter the player statistics.
- Explore the displayed data and visualize intercorrelation heatmaps by clicking the corresponding buttons.
Experience the Live App here: Live Demo
- Python
- Streamlit
- Pandas
- Matplotlib
- Seaborn
- NumPy
- Base64
The NBA player statistics data is scraped from Basketball-reference.com using the Pandas read_html()
function.
Made with ❤️ by Jaweria Batool