U-Board

A library’s monthly report — one printed page

Culture & public services · A printed page (one A4 sheet)

A public library’s month on one printed page, for the trustees and the notice board by the desk — a serif masthead over a double rule, numbered sections, black ink and one muted accent, the source at the foot. The month in a paragraph with its figures in the sentences, four figures, loans this year against last, the subjects borrowed most, visitors by age, and the month’s programmes. A page that reads the same on paper as on screen. Example data.

A library’s monthly report — one printed page

A board drawn with U-Board. Its values are example data written for it, not readings from a real site.

Open in the playground →

Board definition (JSON)

Everything that draws this board — where each value is read from (data), what is shown (parts), and where it sits and over what background (layout), in the same format U-Board’s editor and AI assistant write. The background drawing is long, so it is shortened here; the downloaded file has it whole.

Download — board.json
{
  "board": {
    "theme": "light",
    "accent": "#9a3412"
  },
  "elements": {
    "masthead": {
      "template": "<header class=\"mast\"><p class=\"issuer\">{{issuer}}</p><h1>{{title}}</h1><p class=\"meta\"><span>{{period}}</span><span>{{issue}} · {{published}} 발행</span></p></header>",
      "style": ".mast{height:100%;box-sizing:border-box;display:grid;align-content:end;gap:4px;color:#1c1917}\n.issuer{margin:0;font:600 12px/1.2 var(--u-widget-font-family);letter-spacing:.24em;color:#9a3412}\nh1{margin:0;font:700 34px/1.15 'Noto Serif KR','Nanum Myeongjo',Georgia,'Times New Roman',serif;letter-spacing:-.01em}\n.meta{margin:0;display:flex;justify-content:space-between;font:13px/1.4 var(--u-widget-font-family);color:#57534e}",
      "props": {
        "issuer": "string",
        "title": "string",
        "period": "string",
        "issue": "string",
        "published": "string"
      }
    },
    "lead": {
      "template": "<p class=\"lead\">9월 한 달 동안 <b>{{visits | grouped:0}}명</b>이 도서관을 찾았습니다. 지난달보다 {{visitsChange}}. 빌려 간 책은 <b>{{loans | grouped:0}}권</b>으로, {{topSubject}} 분야가 가장 많이 나갔습니다. {{note}}</p>",
      "style": ".lead{margin:0;height:100%;box-sizing:border-box;font:15px/1.75 'Noto Serif KR','Nanum Myeongjo',Georgia,'Times New Roman',serif;color:#1c1917;word-break:keep-all}\n.lead::first-letter{font-size:1.9em;font-weight:700;color:#9a3412}\nb{font-weight:700}",
      "props": {
        "visits": "number",
        "visitsChange": "string",
        "loans": "number",
        "topSubject": "string",
        "note": "string"
      }
    },
    "figures": {
      "template": "<dl class=\"figs\">{{#items}}<div><dt>{{label}}</dt><dd><b>{{value | grouped:0}}</b><span>{{unit}}</span></dd><dd class=\"chg\">{{change}}</dd></div>{{/items}}</dl>",
      "style": ".figs{height:100%;box-sizing:border-box;margin:0;display:grid;grid-template-columns:repeat(4,1fr);align-content:center;color:#1c1917}\ndiv{padding:0 14px;border-left:1px solid rgba(28,25,23,.18)}\ndiv:first-child{border-left:0;padding-left:0}\ndt{font:12px/1.3 var(--u-widget-font-family);color:#57534e}\ndd{margin:2px 0 0}\nb{font:700 26px/1.1 'Noto Serif KR','Nanum Myeongjo',Georgia,'Times New Roman',serif;font-variant-numeric:tabular-nums}\nspan{margin-left:3px;font:13px var(--u-widget-font-family);color:#57534e}\n.chg{font:12px var(--u-widget-font-family);color:#9a3412;font-variant-numeric:tabular-nums}",
      "props": {
        "items": "list"
      }
    },
    "programmes": {
      "template": "<table class=\"prog\"><tbody>{{#items}}<tr><td class=\"name\">{{name}}</td><td>{{when}}</td><td class=\"num\">{{came}} / {{places}}명</td></tr>{{/items}}</tbody></table>",
      "style": ".prog{width:100%;border-collapse:collapse;font:13px/1.5 var(--u-widget-font-family);color:#1c1917}\ntd{padding:5px 0;border-bottom:1px dotted rgba(28,25,23,.3)}\n.name{font-family:'Noto Serif KR','Nanum Myeongjo',Georgia,'Times New Roman',serif;font-size:14px}\ntd+td{color:#57534e;padding-left:12px}\n.num{text-align:right;font-variant-numeric:tabular-nums;color:#1c1917}",
      "props": {
        "items": "list"
      }
    },
    "colophon": {
      "template": "<footer class=\"foot\"><span>{{source}}</span><span>{{page}}</span></footer>",
      "style": ".foot{height:100%;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;font:11px var(--u-widget-font-family);color:#57534e}",
      "props": {
        "source": "string",
        "page": "string"
      }
    }
  },
  "data": {
    "report": {
      "from": "library",
      "path": "/library/report",
      "time": "updatedAt",
      "fresh": 86400,
      "fields": {
        "issuer": {},
        "title": {},
        "period": {},
        "issue": {},
        "published": {},
        "visits": {},
        "visitsChange": {},
        "loans": {},
        "topSubject": {},
        "note": {},
        "source": {},
        "page": {}
      }
    },
    "figures": {
      "from": "library",
      "path": "/library/figures",
      "time": "updatedAt",
      "fresh": 86400,
      "fields": {
        "value": {}
      }
    },
    "loans": {
      "from": "library",
      "path": "/library/loans",
      "list": "/value",
      "fresh": 86400,
      "answerTime": "/updatedAt"
    },
    "subjects": {
      "from": "library",
      "path": "/library/subjects",
      "list": "/value",
      "fresh": 86400,
      "answerTime": "/updatedAt",
      "fields": {
        "rank": {
          "label": "순위"
        },
        "subject": {
          "label": "분야"
        },
        "loans": {
          "label": "대출",
          "format": "number"
        },
        "share": {
          "label": "비중"
        }
      }
    },
    "ages": {
      "from": "library",
      "path": "/library/ages",
      "list": "/value",
      "fresh": 86400,
      "answerTime": "/updatedAt"
    },
    "programmes": {
      "from": "library",
      "path": "/library/programmes",
      "time": "updatedAt",
      "fresh": 86400,
      "fields": {
        "value": {}
      }
    }
  },
  "parts": {
    "masthead": {
      "as": "element",
      "element": "masthead",
      "of": "report",
      "bind": {
        "issuer": "issuer",
        "title": "title",
        "period": "period",
        "issue": "issue",
        "published": "published"
      }
    },
    "lead": {
      "as": "element",
      "element": "lead",
      "of": "report",
      "bind": {
        "visits": "visits",
        "visitsChange": "visitsChange",
        "loans": "loans",
        "topSubject": "topSubject",
        "note": "note"
      }
    },
    "figures": {
      "as": "element",
      "element": "figures",
      "of": "figures",
      "bind": {
        "items": "value"
      }
    },
    "loans": {
      "as": "chart.line",
      "of": "loans",
      "x": "month",
      "y": [
        "thisYear",
        "lastYear"
      ],
      "valueAxisZero": false,
      "series": [
        {
          "label": "올해",
          "color": "#9a3412"
        },
        {
          "label": "지난해",
          "color": "#a8a29e"
        }
      ]
    },
    "subjects": {
      "as": "table",
      "of": "subjects",
      "show": [
        "rank",
        "subject",
        "loans",
        "share"
      ]
    },
    "ages": {
      "as": "chart.bar",
      "of": "ages",
      "x": "age",
      "y": "people",
      "horizontal": true,
      "series": [
        {
          "label": "이용자",
          "color": "#57534e"
        }
      ]
    },
    "programmes": {
      "as": "element",
      "element": "programmes",
      "of": "programmes",
      "bind": {
        "items": "value"
      }
    },
    "colophon": {
      "as": "element",
      "element": "colophon",
      "of": "report",
      "bind": {
        "source": "source",
        "page": "page"
      }
    }
  },
  "layout": {
    "kind": "canvas",
    "size": [
      794,
      1123
    ],
    "background": "(background drawing, 2 KB — in the downloaded file)",
    "place": {
      "masthead": [
        56,
        40,
        682,
        100
      ],
      "lead": [
        56,
        168,
        682,
        96
      ],
      "figures": [
        70,
        278,
        654,
        80
      ],
      "loans": [
        56,
        430,
        682,
        196
      ],
      "subjects": [
        56,
        688,
        325,
        208
      ],
      "ages": [
        413,
        688,
        325,
        208
      ],
      "programmes": [
        56,
        958,
        682,
        88
      ],
      "colophon": [
        56,
        1063,
        682,
        28
      ]
    }
  }
}
Data (source answers JSON)

The sources the board reads and what they answered — only the fields the board reads. This page draws the board from these answers, with no server.

Download — data.json
{
  "connectors": [
    {
      "key": "library",
      "name": "예시 도서관 통계 API",
      "example": true,
      "attribution": {
        "text": "예시 데이터 — 실제 도서관이 아닙니다"
      }
    }
  ],
  "capturedAt": "2026-10-05T00:30:00.000Z",
  "responses": {
    "library": {
      "/library/report": {
        "issuer": "시립 한가람 도서관",
        "title": "9월 이용 리포트",
        "period": "2026년 9월 1일 – 9월 30일",
        "issue": "제38호",
        "published": "10월 5일",
        "visits": 41860,
        "visitsChange": "12% 늘었습니다",
        "loans": 28415,
        "topSubject": "문학",
        "note": "독서의 달 프로그램 여섯 개에 512명이 참여했고, 새로 가입한 회원은 1,204명입니다.",
        "source": "출처: 도서관 이용 시스템 · 출입 계수기 집계(예시 데이터). 비중은 반올림해 합이 100이 아닐 수 있습니다.",
        "page": "1 / 1",
        "updatedAt": "2026-10-05T00:00:00Z"
      },
      "/library/figures": {
        "value": [
          {
            "label": "방문",
            "value": 41860,
            "unit": "명",
            "change": "전월 대비 +12%"
          },
          {
            "label": "대출",
            "value": 28415,
            "unit": "권",
            "change": "전월 대비 +8%"
          },
          {
            "label": "신규 회원",
            "value": 1204,
            "unit": "명",
            "change": "전월 대비 +31%"
          },
          {
            "label": "프로그램 참여",
            "value": 512,
            "unit": "명",
            "change": "6개 프로그램"
          }
        ],
        "updatedAt": "2026-10-05T00:00:00Z"
      },
      "/library/loans": {
        "value": [
          {
            "month": "1월",
            "thisYear": 22140,
            "lastYear": 21980
          },
          {
            "month": "2월",
            "thisYear": 20310,
            "lastYear": 20850
          },
          {
            "month": "3월",
            "thisYear": 24620,
            "lastYear": 23120
          },
          {
            "month": "4월",
            "thisYear": 25480,
            "lastYear": 23760
          },
          {
            "month": "5월",
            "thisYear": 26110,
            "lastYear": 24300
          },
          {
            "month": "6월",
            "thisYear": 25240,
            "lastYear": 23900
          },
          {
            "month": "7월",
            "thisYear": 27930,
            "lastYear": 26410
          },
          {
            "month": "8월",
            "thisYear": 26310,
            "lastYear": 25120
          },
          {
            "month": "9월",
            "thisYear": 28415,
            "lastYear": 25880
          }
        ],
        "updatedAt": "2026-10-05T00:00:00Z"
      },
      "/library/subjects": {
        "value": [
          {
            "rank": 1,
            "subject": "문학",
            "loans": 9870,
            "share": "35%"
          },
          {
            "rank": 2,
            "subject": "사회과학",
            "loans": 4120,
            "share": "15%"
          },
          {
            "rank": 3,
            "subject": "아동 그림책",
            "loans": 3980,
            "share": "14%"
          },
          {
            "rank": 4,
            "subject": "역사",
            "loans": 2460,
            "share": "9%"
          },
          {
            "rank": 5,
            "subject": "기술과학",
            "loans": 2310,
            "share": "8%"
          },
          {
            "rank": 6,
            "subject": "예술",
            "loans": 1720,
            "share": "6%"
          }
        ],
        "updatedAt": "2026-10-05T00:00:00Z"
      },
      "/library/ages": {
        "value": [
          {
            "age": "어린이",
            "people": 7420
          },
          {
            "age": "10대",
            "people": 6880
          },
          {
            "age": "20대",
            "people": 4310
          },
          {
            "age": "30대",
            "people": 5260
          },
          {
            "age": "40대",
            "people": 8140
          },
          {
            "age": "50대",
            "people": 4720
          },
          {
            "age": "60대 이상",
            "people": 5130
          }
        ],
        "updatedAt": "2026-10-05T00:00:00Z"
      },
      "/library/programmes": {
        "value": [
          {
            "name": "작가와의 만남 — 가을 소설 낭독",
            "when": "9월 6일(토) 오후 2시",
            "came": 118,
            "places": 120
          },
          {
            "name": "어린이 그림책 만들기 4주 과정",
            "when": "9월 매주 수요일",
            "came": 24,
            "places": 24
          },
          {
            "name": "중장년 디지털 도서관 이용 교실",
            "when": "9월 17일(수) 오전 10시",
            "came": 31,
            "places": 40
          }
        ],
        "updatedAt": "2026-10-05T00:00:00Z"
      }
    }
  }
}