https://github.com/gglover/162.games
https://github.com/gglover/162.games
baseball-statistics d3 data-visualization mlb-stats-api
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gglover/162.games
- Owner: gglover
- Created: 2025-04-21T20:55:50.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-08-28T17:50:57.000Z (5 months ago)
- Last Synced: 2025-08-28T23:35:32.422Z (5 months ago)
- Topics: baseball-statistics, d3, data-visualization, mlb-stats-api
- Language: TypeScript
- Homepage: https://162.games
- Size: 1.49 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 162.games
This project is an effort to visualize an MLB season as series-by-series outcomes. This is conceptually what
many fans already do. There's a lot of noise with 162 individual results.
## Monorepo setup for https://162.games/.
### `site/`
Frontend code and bundler.
- React + Tanstack router SPA.
- D3 for charts.
### `infra/`
CDK configuration for running the site's backend.
- Static site with DNS to serve the SPA.
- Lambda to process/sync schedules. Runs nightly during the MLB season.
### `scripts/`
Logic schedule for lambda.
- Pulls from the [MLB stats API](https://statsapi.mlb.com/docs/) using [python bindings](https://github.com/toddrob99/MLB-StatsAPI).
## Inspiration
- [https://gregstoll.com/baseballdivisionraces/]
- [https://www.baseball-reference.com/teams/SEA/2025.shtml] See game results section.