Renders a Day-of-Week vs. Hour-of-Day bubble grid (punch card) of repository or commit activity, where bubble size is proportional to activity.
| Field | Type | |
|---|---|---|
| data | list of lists of numbers (7 rows representing days of week, each containing 24 numbers representing commit frequency for each hour) | required |
| labels_days | list of strings (optional, e.g., ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']) | optional |
| color | string (optional, hex or named color for active bubbles, e.g., '#00f2ff') | optional |
| title | string (optional, title of the repository or chart, e.g., 'Commit Activity') | optional |
| subtitle | string (optional, subtitle, e.g., 'curtiskrygier/meetstudio') | optional |
{
"type": "punch_card",
"data": 1
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:punch_card",
"displayName": "Punch Card",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/punch_card",
"capabilities": [
"web",
"meet-stage",
"apps-script-web"
],
"description": "Renders a Day-of-Week vs. Hour-of-Day bubble grid (punch card) of repository or commit activity, where bubble size is proportional to activity.",
"representativeQueries": [
"show a 7x24 grid of glowing activity bubbles representing hourly commits",
"renders a day-of-week vs. hour-of-day bubble grid (punch card) of repository or commit activity, whe",
"render a punch card"
]
}
The renderer is open source. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.
git clone https://github.com/a2uicatalog/a2ui
cd apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →