Skip to main content
100%

Generate graphs from NBA data

✓ Published0🌍 Public
CCaged
Last edited Feb 9, 2014
Created on Feb 9, 2014

The visualization generates two bar charts from NBA team statistics, each plotting point differentials against a baseline. The first chart displays each team’s overall point spread, while the second groups the same differentials into “Above 500” and “Below 500” categories for comparison. Using pandas for data manipulation and matplotlib for plotting, the code reads CSV files, sorts teams by differential, and renders bar charts with custom colors and axis labels. The output is saved as PNG images at 150 DPI, with data sourced from stats.nba.com.

AI-generated description

Similar vizzes