How pranay-44/python-data-analysis-project works
CricVerse is a World Cup cricket analytics dashboard: users browse India’s matches, select one, and see its scorecard, player stats, charts, and innings timeline. The documented data path begins with Cricsheet match files, which the ETL filters and transforms into four processed datasets; Flask serves those datasets through the API, and the browser renders the analysis. The frontend excerpt is partial, so chart and timeline behavior follows the README and sampled code; the listed HTML file is absent from the supplied tree.
Main entry points: app.py REST endpoints · etl.py Filter and transform · script.js Match analysis · frontend Dashboard page
Components 15
Data preparation
- Filter and transform
etl.py
API service
- Flask app
backend/app.py - REST endpoints
backend/app.py
Dashboard experience
- Dashboard page
frontend - Match browser
frontend/script.js - Match analysis
frontend/script.js - Scorecard stats
frontend/script.js - Worm and run charts
frontend/script.js - Innings timeline
frontend/script.js
Match data
- Cricsheet match files
data/raw - Match metadata
data/processed/matches.json - Ball deliveries
data/processed/deliveries.json - Batting figures
data/processed/batting.json - Bowling figures
data/processed/bowling.json
Other components
- Cricket analyst
Connections 19
- Cricsheet match files → Filter and transform: reads
- Filter and transform → Match metadata: writes
- Filter and transform → Ball deliveries: writes
- Filter and transform → Batting figures: writes
- Filter and transform → Bowling figures: writes
- Cricket analyst → Dashboard page: opens
- Dashboard page → Flask app: requests page
- Flask app → Dashboard page: serves page
- Match browser → REST endpoints: fetches matches
- Match analysis → REST endpoints: fetches match data
- REST endpoints → Match metadata: reads
- REST endpoints → Ball deliveries: reads
- REST endpoints → Batting figures: reads
- REST endpoints → Bowling figures: reads
- Dashboard page → Match browser: shows matches
- Match browser → Match analysis: selects match
- Match analysis → Scorecard stats: renders stats
- Match analysis → Worm and run charts: renders charts
- Match analysis → Innings timeline: renders events