Final Capstone project for Code The Dream Python 100 (Python Essentials)
A data-driven deep dive into the "Moneyball" era of professional baseball.
This interactive dashboard analyzes the relationship between team spending, draft choices, and overall league parity. It helps answer the age-old question: Can you buy a championship, or is success built in the draft?
[https://diamond-data-scraper.onrender.com/]
- What it shows: A dual-axis comparison of "Cost Per Win" vs. "Total Wins."
- Insight: Quickly identify "Value" teams (low cost, high wins) vs. "Luxury" teams (high cost, high wins).
- Interactive: Includes a dynamic "League Minimum Floor" to show teams operating on a shoe-string budget.
- What it shows: Tracks the "Gap of Greatness" (Standard Deviation of WP) over time.
- Insight: Measures how the rise of the Minimum Salary affects competitive balance.
- Correlation Score: Automatically calculates if higher base pay makes the league more equal.
- What it shows: Maps draft pick position against final season standing.
- Insight: Visualizes the "Rebuilding Cycle" using bubble sizes that reflect the weight of #1 overall picks.
git clone [https://github.com/bunniebytes/Diamond_Data_Scraper](https://github.com/bunniebytes/Diamond_Data_Scraper)
cd Diamond_Data_Scrapersource .venv/bin/activate # On Windows use: .venv\Scripts\activatepip install -r requirements.txt
python .\main.py
python .\myapp.py
Visit http://127.0.0.1:8050/ in your browser.
- Language: Python 3.x
- Framework: Dash (Plotly)
- Data Storage: SQLite
- Processing: Pandas
- Deployment: Render / Gunicorn



