To fetch live GitHub repository data using the GitHub API, prepare it in Google Sheets, and visualize it in Tableau through KPIs, dashboards, and stories, demonstrating real-time data handling and interactive visualization.
- Generate a GitHub personal access token and use it to collect live repository data.
- Pull the data into Google Sheets using Apps Script.
- Set up triggers that automatically update data at regular intervals.
- Connect Google Sheets with Tableau Public.
- Build KPI cards, charts, and graphs from the dataset.
- Design a dashboard with interactive filters and comparative analysis.
- Create a story summarizing the findings and insights from repository activity.
- GitHub API – for fetching real-time repository data (stars, forks, watchers, open issues, commits, merge commits).
- Google Sheets with Apps Script – for storing, refreshing, and managing data dynamically.
- Tableau Public – for visualization, dashboards, and storytelling.
- Registered on GitHub and created a personal access token for API access.
- Built API requests to fetch repository information for the user
muhammadnavas. - Retrieved data like stars, forks, watchers, open issues, total commits, and merge commits.
- Handled API pagination to ensure all repositories and commits are fetched.
- Created a new Google Sheet and opened Apps Script editor.
- Wrote a script to fetch repository data from GitHub and append it to the sheet.
- Structured the sheet with headers like:
- Repo Name
- Language
- Stars
- Forks
- Watchers
- Open Issues
- Total Commits
- Merge Commits
- URL
- Configured a time-driven trigger in Apps Script to run the data fetching function periodically (e.g., daily).
- Ensured the sheet is cleared and repopulated with the latest data during each run.
- This setup ensures real-time updates without manual intervention.
- Opened Tableau Public and connected to the Google Sheets data source.
- Selected the
GitHubDatasheet and confirmed data import with correct column types.
- Created KPI cards to show total stars, forks, watchers, open issues, and commits across repositories.
- Designed bar charts to compare commits and merge commits among repositories.
- Used filters to segment repositories by language or contribution activity.
- Arranged KPIs, charts, and graphs in a user-friendly layout.
- Integrated interactive filters to allow users to analyse data by repository or activity metrics.
- Added story points to explain insights such as:
- The most active repositories by stars and commits.
- Trends in contribution and merge activity.
- Comparisons between different programming languages or projects.
- Saved the completed dashboard and story to Tableau Public.
- Generated a public link to share with peers and instructors.
- Submitted the link as part of the project report.