This program allows uers to compare NBA positions by viewing visuals of common and very important statistics. The statistics being used are pts, asts, trbs, and blks+stls. Users can explore these metrics through visualizations such as pie charts, line charts, bar charts, and scatter charts. The program will run until the user decides to exit.
I used a data set online, (NBA Statistics 2023-2024 Database) for my statistics. Some noticeable trends you can find in my graphs are, when it comes to playmaking, point guards are the best. This is because they average the most assists compared to other positions. When it comes to rebounding and stealing, centers are the best, point guards being right behind them. That is because centers get a lot of blocks and decent amount of steals. Point guards get a lot of steals and a few blocks. This is because point guards are usually the quickest player on their team making it easier to steal the ball. Centers average the most blocks and rebounds because of their height. The trend is average points per game is for point guards to lead all positions by a reasonable amount. This is because they are holding the ball the most out of any position.
This program is highly relevant to my topic because it provides a detailed analysis for users comparing how different potions in the NBA perform across several key statistics. Comparing different key statistics helps highlight the distinct roles/duties different NBA positions serve. If a player were deciding which position he wanted to play, viewing these statistics and seeing what that player excels in could help him decide on what position he would want to stick with. These visualizations help deepen the users understandings of the roles each position plays in the NBA.
Expected Output:
I expect for users to be outputed a chart visual depending on what they are interested in learning about. I expect for point guards to have the most elite statistics overall. I expect this because they are the quickest, they can be tall, Luka Doncic (6,6), SGA (6,6) are two great examples) and mainly because they are the ones dribbling the basketball the most out of anyone.
My NBA position guessing game defines key statistics represented in different charts.
# The statistics being used are PTS, TRBS, AST, and STL + BLK) compared with all positions in the NBA.
# My program allows users to see multiple different charts, (pie, line, scatter, bar)
# This charts show off the data compared to positions
# Program continues to run until user requests to quit
# Input validation ensures only valid options are accepted, otherwise error message will be shown
# Conditional statements determine the position with the highest value for each category. (if, elif, else)
# It uses different functions, title_msg, get_choice, average/maximum/minimum_val, check_choice, pie/chart/visual/bar_visual, and main function