How donnemartin/viz works
Viz combines a GitHub-statistics miner with published language tables, interactive Tableau workbooks, and a companion website. The principal update path is a CLI command into the stats orchestrator, which queries GitHub, aggregates repository and account statistics, optionally geocodes user locations, and writes datasets used in the published views. The README documents the product capabilities and external services; sampled Python excerpts establish the CLI, API, and geocoding calls. Website and visualization internals are represented at supported directory paths, so their implementation-level wiring is not inferred.
Main entry points: github_stats.py Stats orchestrator · data Collected datasets · github_stats_cli.py Stats CLI · github.py GitHub adapter
Components 16
Data collection
- Stats CLI
githubstats/github_stats_cli.py - GitHub adapter
githubstats/lib/github.py
Processing
- Stats orchestrator
githubstats/github_stats.py - Repository model
githubstats/repo.py - User model
githubstats/user.py - Location geocoder
githubstats/user_geocoder.py - Data wrangling
githubstats/data_wrangling.ipynb
Published outputs
- Collected datasets
githubstats/data - Language tables
language_stats - Interactive workbooks
viz
Website
- Website pages
site/content/pages - Site configuration
site/pelicanconf.py
Other components
- Operator
- GitHub API
- Google Maps API
- Tableau Public
Connections 14
- Operator → Stats CLI: runs command
githubstats/github_stats_cli.py - Stats CLI → Stats orchestrator: creates and invokes
githubstats/github_stats_cli.py - Stats orchestrator → GitHub adapter: queries through
githubstats/github_stats.py - GitHub adapter → GitHub API: authenticates and queries
githubstats/lib/github.py - Stats orchestrator → Repository model: creates repository records
githubstats/github_stats.py - Stats orchestrator → User model: creates account records
githubstats/github_stats.py - Stats orchestrator → Location geocoder: updates user locations
githubstats/github_stats.py - Location geocoder → Google Maps API: geocodes locations
githubstats/user_geocoder.py - Stats orchestrator → Collected datasets: writes CSV data
githubstats/github_stats.py - Collected datasets → Data wrangling: supplies data
README.md - Collected datasets → Language tables: provides tracked data
README.md - Collected datasets → Interactive workbooks: feeds visualizations
README.md - Tableau Public → Interactive workbooks: hosts views
README.md - Site configuration → Website pages: configures site
site/pelicanconf.py